View | Details | Raw Unified | Return to bug 39665
Collapse All | Expand All

(-)acron/Makefile (-1 / +2 lines)
Lines 15-23 Link Here
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
16
17
NO_BUILD=	yes
17
NO_BUILD=	yes
18
USE_REINPLACE=	yes
18
19
19
post-patch:
20
post-patch:
20
	@${PERL} -pi -e "s|\@\@PREFIX\@\@|${PREFIX}|g;" ${WRKSRC}/whats
21
	@${REINPLACE_CMD} -e "s|\@\@PREFIX\@\@|${PREFIX}|g;" ${WRKSRC}/whats
21
22
22
do-install:
23
do-install:
23
	${INSTALL_SCRIPT} ${WRKSRC}/whats ${PREFIX}/bin
24
	${INSTALL_SCRIPT} ${WRKSRC}/whats ${PREFIX}/bin
(-)bb/Makefile (-1 / +2 lines)
Lines 17-28 Link Here
17
LIB_DEPENDS=		aa.1:${PORTSDIR}/graphics/aalib \
17
LIB_DEPENDS=		aa.1:${PORTSDIR}/graphics/aalib \
18
			mikmod.2:${PORTSDIR}/audio/libmikmod
18
			mikmod.2:${PORTSDIR}/audio/libmikmod
19
19
20
USE_REINPLACE=		yes
20
GNU_CONFIGURE=		yes
21
GNU_CONFIGURE=		yes
21
WRKSRC=			${WRKDIR}/bb-1.3.0
22
WRKSRC=			${WRKDIR}/bb-1.3.0
22
MAN1=			bb.1
23
MAN1=			bb.1
23
24
24
pre-patch:
25
pre-patch:
25
	${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
26
	@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
26
27
27
post-install:
28
post-install:
28
.if !defined(NOPORTDOCS)
29
.if !defined(NOPORTDOCS)
(-)cpuid/Makefile (-1 / +2 lines)
Lines 13-24 Link Here
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
15
16
USE_REINPLACE=	yes
16
ONLY_FOR_ARCHS=	i386
17
ONLY_FOR_ARCHS=	i386
17
USE_GMAKE=	yes
18
USE_GMAKE=	yes
18
ALL_TARGET=	# empty
19
ALL_TARGET=	# empty
19
20
20
post-patch:
21
post-patch:
21
	@${PERL} -pi -e "s,gcc,${CC},g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
22
	@${REINPLACE_CMD} -e "s,gcc,${CC},g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
22
23
23
do-install:
24
do-install:
24
	${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${PREFIX}/bin
25
	${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${PREFIX}/bin
(-)demoniac/Makefile (-1 / +2 lines)
Lines 15-20 Link Here
15
15
16
LIB_DEPENDS=	gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
16
LIB_DEPENDS=	gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
17
17
18
USE_REINPLACE=	yes
18
USE_MESA=	yes
19
USE_MESA=	yes
19
USE_GTK=	yes
20
USE_GTK=	yes
20
USE_LIBTOOL=	yes
21
USE_LIBTOOL=	yes
Lines 23-28 Link Here
23
		LDFLAGS="${PTHREAD_LIBS}"
24
		LDFLAGS="${PTHREAD_LIBS}"
24
25
25
post-patch:
26
post-patch:
26
	@${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
27
	@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
27
28
28
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)dotfile/Makefile (-1 / +2 lines)
Lines 15-27 Link Here
15
LIB_DEPENDS=	tk82.1:${PORTSDIR}/x11-toolkits/tk82
15
LIB_DEPENDS=	tk82.1:${PORTSDIR}/x11-toolkits/tk82
16
RUN_DEPENDS=	wish8.2:${PORTSDIR}/x11-toolkits/tk82
16
RUN_DEPENDS=	wish8.2:${PORTSDIR}/x11-toolkits/tk82
17
17
18
USE_REINPLACE=	yes
18
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
19
MAN1=		dotfile.1
20
MAN1=		dotfile.1
20
21
21
NO_BUILD=	yes
22
NO_BUILD=	yes
22
23
23
post-patch:
24
post-patch:
24
	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dotfile
25
	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dotfile
25
26
26
post-configure:
27
post-configure:
27
	@(cd ${WRKSRC}/Modules/procmail && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \
28
	@(cd ${WRKSRC}/Modules/procmail && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \
(-)ewipe/Makefile (-1 / +2 lines)
Lines 19-24 Link Here
19
.endif
19
.endif
20
20
21
NO_BUILD=	YES
21
NO_BUILD=	YES
22
USE_REINPLACE=	yes
22
TCLLIBS=	definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex
23
TCLLIBS=	definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex
23
PORTDOCS=	Changes.jp README README.jp dot.ewipe
24
PORTDOCS=	Changes.jp README README.jp dot.ewipe
24
EXAMPLES=	a1.gif a2.gif a3.gif a4.gif blue1.gif sample.ewp test.ewp \
25
EXAMPLES=	a1.gif a2.gif a3.gif a4.gif blue1.gif sample.ewp test.ewp \
Lines 31-37 Link Here
31
.endif
32
.endif
32
33
33
post-patch:
34
post-patch:
34
	@${PERL} -pi \
35
	@${REINPLACE_CMD} \
35
		-e "s|%%PREFIX%%|${PREFIX}|g;" \
36
		-e "s|%%PREFIX%%|${PREFIX}|g;" \
36
		-e "s|%%WISH%%|${WISH}|g;" ${WRKSRC}/ewipe
37
		-e "s|%%WISH%%|${WISH}|g;" ${WRKSRC}/ewipe
37
38
(-)floatator/Makefile (-1 / +2 lines)
Lines 13-24 Link Here
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
15
16
USE_REINPLACE=	yes
16
USE_XLIB=	yes
17
USE_XLIB=	yes
17
USE_MOTIF=	yes
18
USE_MOTIF=	yes
18
WRKSRC=		${WRKDIR}/${PORTNAME}
19
WRKSRC=		${WRKDIR}/${PORTNAME}
19
20
20
post-patch:
21
post-patch:
21
	@${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
22
	@${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
22
23
23
do-install:
24
do-install:
24
.for f in floatator floatator_X_interface
25
.for f in floatator floatator_X_interface
(-)goblin/Makefile (-2 / +4 lines)
Lines 17-31 Link Here
17
LIB_DEPENDS=	tcl83:${PORTSDIR}/lang/tcl83 \
17
LIB_DEPENDS=	tcl83:${PORTSDIR}/lang/tcl83 \
18
		tk83:${PORTSDIR}/x11-toolkits/tk83
18
		tk83:${PORTSDIR}/x11-toolkits/tk83
19
19
20
USE_REINPLACE=	yes
21
20
CFLAGS+=	-I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \
22
CFLAGS+=	-I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \
21
		-I${X11BASE}/include
23
		-I${X11BASE}/include
22
LIBS=		-L${LOCALBASE}/lib -L${X11BASE}/lib
24
LIBS=		-L${LOCALBASE}/lib -L${X11BASE}/lib
23
25
24
post-patch:
26
post-patch:
25
	@${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \
27
	@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \
26
		s,g\+\+,${CXX},g ; \
28
		s,g\+\+,${CXX},g ; \
27
		s,%%CXXFLAGS%%,${CXXFLAGS},g ; s,%%LIBS%%,${LIBS},g ; \
29
		s,%%CXXFLAGS%%,${CXXFLAGS},g ; s,%%LIBS%%,${LIBS},g ; \
28
		s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile
30
		s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile
29
	@${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h
31
	@${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h
30
32
31
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)gonvert/Makefile (-2 / +3 lines)
Lines 17-22 Link Here
17
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/GTK.py:${PORTSDIR}/x11-toolkits/py-gtk \
17
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/GTK.py:${PORTSDIR}/x11-toolkits/py-gtk \
18
		${PYTHON_SITELIBDIR}/gnome/ui.py:${PORTSDIR}/x11-toolkits/py-gnome
18
		${PYTHON_SITELIBDIR}/gnome/ui.py:${PORTSDIR}/x11-toolkits/py-gnome
19
19
20
USE_REINPLACE=	yes
20
USE_PYTHON=	yes
21
USE_PYTHON=	yes
21
USE_X_PREFIX=	yes
22
USE_X_PREFIX=	yes
22
USE_GNOME=	yes
23
USE_GNOME=	yes
Lines 25-32 Link Here
25
NO_BUILD=	yes
26
NO_BUILD=	yes
26
27
27
post-patch:
28
post-patch:
28
	@${PERL} -pi -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME}
29
	@${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME}
29
	@${PERL} -pi -e "s,gnome-config,${GNOME_CONFIG},g ; \
30
	@${REINPLACE_CMD} -e "s,gnome-config,${GNOME_CONFIG},g ; \
30
		s,--directory,-d --mode=755,g ; \
31
		s,--directory,-d --mode=755,g ; \
31
		s,install ,install -c ,g" ${WRKSRC}/Makefile
32
		s,install ,install -c ,g" ${WRKSRC}/Makefile
32
33
(-)grc/Makefile (-1 / +2 lines)
Lines 14-19 Link Here
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
16
17
USE_REINPLACE=	yes
17
USE_PYTHON=	yes
18
USE_PYTHON=	yes
18
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
19
NO_BUILD=	yes
20
NO_BUILD=	yes
Lines 22-28 Link Here
22
23
23
post-patch:
24
post-patch:
24
.for file in grc grcat
25
.for file in grc grcat
25
	@${PERL} -pi -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g ; \
26
	@${REINPLACE_CMD} -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g ; \
26
		s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
27
		s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
27
.endfor
28
.endfor
28
29
(-)gretl/Makefile (-2 / +3 lines)
Lines 21-26 Link Here
21
		gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra
21
		gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra
22
RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
22
RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
23
23
24
USE_REINPLACE=	yes
24
USE_X_PREFIX=	yes
25
USE_X_PREFIX=	yes
25
USE_GTK=	yes
26
USE_GTK=	yes
26
WANT_GNOME=	yes
27
WANT_GNOME=	yes
Lines 43-50 Link Here
43
.endif
44
.endif
44
45
45
pre-patch:
46
pre-patch:
46
	@${PERL} -pi -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \
47
	@${REINPLACE_CMD} -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \
47
		 s|/share/gretl/|/lib/gretl/|g' ${WRKSRC}/configure
48
		 s|/share/gretl/|/lib/gretl/|g' ${WRKSRC}/configure
48
	@${PERL} -pi -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c
49
	@${REINPLACE_CMD} -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c
49
50
50
.include <bsd.port.post.mk>
51
.include <bsd.port.post.mk>
(-)qhacc/Makefile (-1 / +2 lines)
Lines 14-19 Link Here
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
16
17
USE_REINPLACE=	yes
17
USE_QT_VER=	2
18
USE_QT_VER=	2
18
USE_X_PREFIX=	yes
19
USE_X_PREFIX=	yes
19
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
Lines 25-31 Link Here
25
26
26
pre-patch:
27
pre-patch:
27
.for file in configure src/Makefile.in
28
.for file in configure src/Makefile.in
28
	@${PERL} -pi -e 's|/moc|/${MOC:T}|g ; \
29
	@${REINPLACE_CMD} -e 's|/moc|/${MOC:T}|g ; \
29
		 s|-lqt|-l${QTNAME}|g ; \
30
		 s|-lqt|-l${QTNAME}|g ; \
30
		 s|-O2 -Wall|\@CXXFLAGS\@|g' ${WRKSRC}/${file}
31
		 s|-O2 -Wall|\@CXXFLAGS\@|g' ${WRKSRC}/${file}
31
.endfor
32
.endfor
(-)quantlib/Makefile (-3 / +4 lines)
Lines 17-22 Link Here
17
17
18
WRKSRC=		${WRKDIR}/QuantLib-${PORTVERSION}
18
WRKSRC=		${WRKDIR}/QuantLib-${PORTVERSION}
19
19
20
USE_REINPLACE=	yes
20
USE_BZIP2=	yes
21
USE_BZIP2=	yes
21
USE_LIBTOOL=	yes
22
USE_LIBTOOL=	yes
22
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
23
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
Lines 26-35 Link Here
26
		quantlib-config.1
27
		quantlib-config.1
27
28
28
pre-patch:
29
pre-patch:
29
	@${PERL} -pi -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure
30
	@${REINPLACE_CMD} -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure
30
	@${FIND} ${WRKSRC} -name "Makefile.in" | \
31
	@${FIND} ${WRKSRC} -name "Makefile.in" | \
31
		${XARGS} ${PERL} -pi -e 's|-g -O.|\@CXXFLAGS\@|g'
32
		${XARGS} ${REINPLACE_CMD} -e 's|-g -O.|\@CXXFLAGS\@|g'
32
	@${FIND} ${WRKSRC}/Examples -name "Makefile.in" | \
33
	@${FIND} ${WRKSRC}/Examples -name "Makefile.in" | \
33
		${XARGS} ${PERL} -pi -e 's|-pedantic -Wall|-O0|g'
34
		${XARGS} ${REINPLACE_CMD} -e 's|-pedantic -Wall|-O0|g'
34
35
35
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)shc/Makefile (-1 / +2 lines)
Lines 14-25 Link Here
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
16
17
USE_REINPLACE=	yes
17
ALL_TARGET=	shc
18
ALL_TARGET=	shc
18
19
19
MAN1=	shc.1
20
MAN1=	shc.1
20
21
21
post-patch:
22
post-patch:
22
	@${PERL} -pi -e "s,^CFLAGS,#CFLAGS},g ; \
23
	@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS},g ; \
23
		s,/usr/local,${PREFIX},g" ${WRKSRC}/Makefile
24
		s,/usr/local,${PREFIX},g" ${WRKSRC}/Makefile
24
25
25
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)txt2regex/Makefile (-2 / +3 lines)
Lines 16-27 Link Here
16
16
17
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2
17
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2
18
18
19
USE_REINPLACE=	yes
19
NO_BUILD=	yes
20
NO_BUILD=	yes
20
21
21
post-patch:
22
post-patch:
22
	@${PERL} -pi -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \
23
	@${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \
23
		s,\`seq,\`gseq,g" ${WRKSRC}/${DISTNAME}.sh
24
		s,\`seq,\`gseq,g" ${WRKSRC}/${DISTNAME}.sh
24
	@${PERL} -pi -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile
25
	@${REINPLACE_CMD} -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile
25
26
26
do-install:
27
do-install:
27
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.sh ${PREFIX}/bin/txt2regex
28
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.sh ${PREFIX}/bin/txt2regex
(-)xpns/Makefile (-1 / +2 lines)
Lines 13-25 Link Here
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
15
16
USE_REINPLACE=	yes
16
NO_WRKSUBDIR=	yes
17
NO_WRKSUBDIR=	yes
17
USE_X_PREFIX=	yes
18
USE_X_PREFIX=	yes
18
MAKEFILE=	makefile
19
MAKEFILE=	makefile
19
ALL_TARGET=	pns
20
ALL_TARGET=	pns
20
21
21
post-patch:
22
post-patch:
22
	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns
23
	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns
23
24
24
do-install:
25
do-install:
25
	${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns
26
	${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns
(-)yaunc/Makefile (-1 / +2 lines)
Lines 13-25 Link Here
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
15
16
USE_REINPLACE=	yes
16
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
17
MAN1=		yaunc.1
18
MAN1=		yaunc.1
18
19
19
post-patch:
20
post-patch:
20
	@${CP} -f ${FILESDIR}/startup ${WRKSRC}/yaunc.sh
21
	@${CP} -f ${FILESDIR}/startup ${WRKSRC}/yaunc.sh
21
.for file in yaunc.1 yaunc.sh
22
.for file in yaunc.1 yaunc.sh
22
	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
23
	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
23
.endfor
24
.endfor
24
25
25
do-install:
26
do-install:

Return to bug 39665