diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-23 01:23:30 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-23 01:23:30 +0800 |
commit | 8545a2e67fcd00c39e1d49278039599fde0a3c96 (patch) | |
tree | 93c69ec1765552a1e68bc7a639a178521cfdbd2e | |
parent | a05fa76323fffdebea8fa39b9c6b32db8f07f949 (diff) | |
download | freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.gz freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.zst freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.zip |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39665
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
-rw-r--r-- | finance/qhacc/Makefile | 3 | ||||
-rw-r--r-- | finance/quantlib/Makefile | 7 | ||||
-rw-r--r-- | math/goblin/Makefile | 6 | ||||
-rw-r--r-- | math/gretl/Makefile | 5 | ||||
-rw-r--r-- | misc/acron/Makefile | 3 | ||||
-rw-r--r-- | misc/bb/Makefile | 3 | ||||
-rw-r--r-- | misc/cpuid/Makefile | 3 | ||||
-rw-r--r-- | misc/demoniac/Makefile | 3 | ||||
-rw-r--r-- | misc/dotfile/Makefile | 3 | ||||
-rw-r--r-- | misc/ewipe/Makefile | 3 | ||||
-rw-r--r-- | misc/floatator/Makefile | 3 | ||||
-rw-r--r-- | misc/goblin/Makefile | 6 | ||||
-rw-r--r-- | misc/gonvert/Makefile | 5 | ||||
-rw-r--r-- | misc/grc/Makefile | 3 | ||||
-rw-r--r-- | misc/gretl/Makefile | 5 | ||||
-rw-r--r-- | misc/qhacc/Makefile | 3 | ||||
-rw-r--r-- | misc/quantlib/Makefile | 7 | ||||
-rw-r--r-- | misc/shc/Makefile | 3 | ||||
-rw-r--r-- | misc/txt2regex/Makefile | 5 | ||||
-rw-r--r-- | misc/xpns/Makefile | 3 | ||||
-rw-r--r-- | misc/yaunc/Makefile | 3 |
21 files changed, 54 insertions, 31 deletions
diff --git a/finance/qhacc/Makefile b/finance/qhacc/Makefile index dada24044e6e..478ace8c2b63 100644 --- a/finance/qhacc/Makefile +++ b/finance/qhacc/Makefile @@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_QT_VER= 2 USE_X_PREFIX= yes GNU_CONFIGURE= yes @@ -25,7 +26,7 @@ post-extract: pre-patch: .for file in configure src/Makefile.in - @${PERL} -pi -e 's|/moc|/${MOC:T}|g ; \ + @${REINPLACE_CMD} -e 's|/moc|/${MOC:T}|g ; \ s|-lqt|-l${QTNAME}|g ; \ s|-O2 -Wall|\@CXXFLAGS\@|g' ${WRKSRC}/${file} .endfor diff --git a/finance/quantlib/Makefile b/finance/quantlib/Makefile index 7a41106859de..83853fda4edf 100644 --- a/finance/quantlib/Makefile +++ b/finance/quantlib/Makefile @@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION} +USE_REINPLACE= yes USE_BZIP2= yes USE_LIBTOOL= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} @@ -26,10 +27,10 @@ MAN1= DiscreteHedging.1 EuropeanOption.1 SwapValuation.1 \ quantlib-config.1 pre-patch: - @${PERL} -pi -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | \ - ${XARGS} ${PERL} -pi -e 's|-g -O.|\@CXXFLAGS\@|g' + ${XARGS} ${REINPLACE_CMD} -e 's|-g -O.|\@CXXFLAGS\@|g' @${FIND} ${WRKSRC}/Examples -name "Makefile.in" | \ - ${XARGS} ${PERL} -pi -e 's|-pedantic -Wall|-O0|g' + ${XARGS} ${REINPLACE_CMD} -e 's|-pedantic -Wall|-O0|g' .include <bsd.port.mk> diff --git a/math/goblin/Makefile b/math/goblin/Makefile index fa8d24deb732..7435f6b99250 100644 --- a/math/goblin/Makefile +++ b/math/goblin/Makefile @@ -17,15 +17,17 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 \ tk83:${PORTSDIR}/x11-toolkits/tk83 +USE_REINPLACE= yes + CFLAGS+= -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \ -I${X11BASE}/include LIBS= -L${LOCALBASE}/lib -L${X11BASE}/lib post-patch: - @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \ + @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \ s,g\+\+,${CXX},g ; \ s,%%CXXFLAGS%%,${CXXFLAGS},g ; s,%%LIBS%%,${LIBS},g ; \ s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile - @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h + @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h .include <bsd.port.mk> diff --git a/math/gretl/Makefile b/math/gretl/Makefile index 2401d5a0ec68..6e168f6580b8 100644 --- a/math/gretl/Makefile +++ b/math/gretl/Makefile @@ -21,6 +21,7 @@ LIB_DEPENDS= gnomeole2.0:${PORTSDIR}/devel/libole2 \ gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GTK= yes WANT_GNOME= yes @@ -43,8 +44,8 @@ CONFIGURE_ARGS+= --without-gnome .endif pre-patch: - @${PERL} -pi -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \ + @${REINPLACE_CMD} -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \ s|/share/gretl/|/lib/gretl/|g' ${WRKSRC}/configure - @${PERL} -pi -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c + @${REINPLACE_CMD} -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c .include <bsd.port.post.mk> diff --git a/misc/acron/Makefile b/misc/acron/Makefile index 3905d9ba5998..f9351abe1d09 100644 --- a/misc/acron/Makefile +++ b/misc/acron/Makefile @@ -15,9 +15,10 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org NO_BUILD= yes +USE_REINPLACE= yes post-patch: - @${PERL} -pi -e "s|\@\@PREFIX\@\@|${PREFIX}|g;" ${WRKSRC}/whats + @${REINPLACE_CMD} -e "s|\@\@PREFIX\@\@|${PREFIX}|g;" ${WRKSRC}/whats do-install: ${INSTALL_SCRIPT} ${WRKSRC}/whats ${PREFIX}/bin diff --git a/misc/bb/Makefile b/misc/bb/Makefile index b18f2ea0c429..4e72b492d276 100644 --- a/misc/bb/Makefile +++ b/misc/bb/Makefile @@ -17,12 +17,13 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \ mikmod.2:${PORTSDIR}/audio/libmikmod +USE_REINPLACE= yes GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/bb-1.3.0 MAN1= bb.1 pre-patch: - ${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e "s@#include +<malloc.h>@#include <stdlib.h>@g" + @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g" post-install: .if !defined(NOPORTDOCS) diff --git a/misc/cpuid/Makefile b/misc/cpuid/Makefile index d11c1dd5af5b..fbc8515eb3e1 100644 --- a/misc/cpuid/Makefile +++ b/misc/cpuid/Makefile @@ -13,12 +13,13 @@ MASTER_SITES= http://people.qualcomm.com/karn/code/cpuid/ MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes ONLY_FOR_ARCHS= i386 USE_GMAKE= yes ALL_TARGET= # empty post-patch: - @${PERL} -pi -e "s,gcc,${CC},g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s,gcc,${CC},g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${PREFIX}/bin diff --git a/misc/demoniac/Makefile b/misc/demoniac/Makefile index 1e4c3530bccb..099b42479737 100644 --- a/misc/demoniac/Makefile +++ b/misc/demoniac/Makefile @@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea +USE_REINPLACE= yes USE_MESA= yes USE_GTK= yes USE_LIBTOOL= yes @@ -23,6 +24,6 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \ LDFLAGS="${PTHREAD_LIBS}" post-patch: - @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure + @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure .include <bsd.port.mk> diff --git a/misc/dotfile/Makefile b/misc/dotfile/Makefile index d7e51b79d3de..1e10597aeab7 100644 --- a/misc/dotfile/Makefile +++ b/misc/dotfile/Makefile @@ -15,13 +15,14 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 +USE_REINPLACE= yes GNU_CONFIGURE= yes MAN1= dotfile.1 NO_BUILD= yes post-patch: - @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dotfile + @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dotfile post-configure: @(cd ${WRKSRC}/Modules/procmail && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \ diff --git a/misc/ewipe/Makefile b/misc/ewipe/Makefile index 75b44246f697..92e2365293ca 100644 --- a/misc/ewipe/Makefile +++ b/misc/ewipe/Makefile @@ -19,6 +19,7 @@ RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 .endif NO_BUILD= YES +USE_REINPLACE= yes TCLLIBS= definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex PORTDOCS= Changes.jp README README.jp dot.ewipe EXAMPLES= a1.gif a2.gif a3.gif a4.gif blue1.gif sample.ewp test.ewp \ @@ -31,7 +32,7 @@ WISH= ${LOCALBASE}/bin/wish8.2 .endif post-patch: - @${PERL} -pi \ + @${REINPLACE_CMD} \ -e "s|%%PREFIX%%|${PREFIX}|g;" \ -e "s|%%WISH%%|${WISH}|g;" ${WRKSRC}/ewipe diff --git a/misc/floatator/Makefile b/misc/floatator/Makefile index 905afa072beb..b727f12ab0b3 100644 --- a/misc/floatator/Makefile +++ b/misc/floatator/Makefile @@ -13,12 +13,13 @@ MASTER_SITES= http://www.cichon.com/floatator/download/ MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_XLIB= yes USE_MOTIF= yes WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: - @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile do-install: .for f in floatator floatator_X_interface diff --git a/misc/goblin/Makefile b/misc/goblin/Makefile index fa8d24deb732..7435f6b99250 100644 --- a/misc/goblin/Makefile +++ b/misc/goblin/Makefile @@ -17,15 +17,17 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 \ tk83:${PORTSDIR}/x11-toolkits/tk83 +USE_REINPLACE= yes + CFLAGS+= -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \ -I${X11BASE}/include LIBS= -L${LOCALBASE}/lib -L${X11BASE}/lib post-patch: - @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \ + @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \ s,g\+\+,${CXX},g ; \ s,%%CXXFLAGS%%,${CXXFLAGS},g ; s,%%LIBS%%,${LIBS},g ; \ s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile - @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h + @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h .include <bsd.port.mk> diff --git a/misc/gonvert/Makefile b/misc/gonvert/Makefile index 38c1b33a046a..2c04fce81943 100644 --- a/misc/gonvert/Makefile +++ b/misc/gonvert/Makefile @@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= ${PYTHON_SITELIBDIR}/GTK.py:${PORTSDIR}/x11-toolkits/py-gtk \ ${PYTHON_SITELIBDIR}/gnome/ui.py:${PORTSDIR}/x11-toolkits/py-gnome +USE_REINPLACE= yes USE_PYTHON= yes USE_X_PREFIX= yes USE_GNOME= yes @@ -25,8 +26,8 @@ USE_GMAKE= yes NO_BUILD= yes post-patch: - @${PERL} -pi -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME} - @${PERL} -pi -e "s,gnome-config,${GNOME_CONFIG},g ; \ + @${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME} + @${REINPLACE_CMD} -e "s,gnome-config,${GNOME_CONFIG},g ; \ s,--directory,-d --mode=755,g ; \ s,install ,install -c ,g" ${WRKSRC}/Makefile diff --git a/misc/grc/Makefile b/misc/grc/Makefile index c79e55735fcb..afa7a7325b3e 100644 --- a/misc/grc/Makefile +++ b/misc/grc/Makefile @@ -14,6 +14,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_PYTHON= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} NO_BUILD= yes @@ -22,7 +23,7 @@ MAN1= grc.1 grcat.1 post-patch: .for file in grc grcat - @${PERL} -pi -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g ; \ + @${REINPLACE_CMD} -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g ; \ s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} .endfor diff --git a/misc/gretl/Makefile b/misc/gretl/Makefile index 2401d5a0ec68..6e168f6580b8 100644 --- a/misc/gretl/Makefile +++ b/misc/gretl/Makefile @@ -21,6 +21,7 @@ LIB_DEPENDS= gnomeole2.0:${PORTSDIR}/devel/libole2 \ gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GTK= yes WANT_GNOME= yes @@ -43,8 +44,8 @@ CONFIGURE_ARGS+= --without-gnome .endif pre-patch: - @${PERL} -pi -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \ + @${REINPLACE_CMD} -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \ s|/share/gretl/|/lib/gretl/|g' ${WRKSRC}/configure - @${PERL} -pi -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c + @${REINPLACE_CMD} -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c .include <bsd.port.post.mk> diff --git a/misc/qhacc/Makefile b/misc/qhacc/Makefile index dada24044e6e..478ace8c2b63 100644 --- a/misc/qhacc/Makefile +++ b/misc/qhacc/Makefile @@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_QT_VER= 2 USE_X_PREFIX= yes GNU_CONFIGURE= yes @@ -25,7 +26,7 @@ post-extract: pre-patch: .for file in configure src/Makefile.in - @${PERL} -pi -e 's|/moc|/${MOC:T}|g ; \ + @${REINPLACE_CMD} -e 's|/moc|/${MOC:T}|g ; \ s|-lqt|-l${QTNAME}|g ; \ s|-O2 -Wall|\@CXXFLAGS\@|g' ${WRKSRC}/${file} .endfor diff --git a/misc/quantlib/Makefile b/misc/quantlib/Makefile index 7a41106859de..83853fda4edf 100644 --- a/misc/quantlib/Makefile +++ b/misc/quantlib/Makefile @@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION} +USE_REINPLACE= yes USE_BZIP2= yes USE_LIBTOOL= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} @@ -26,10 +27,10 @@ MAN1= DiscreteHedging.1 EuropeanOption.1 SwapValuation.1 \ quantlib-config.1 pre-patch: - @${PERL} -pi -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | \ - ${XARGS} ${PERL} -pi -e 's|-g -O.|\@CXXFLAGS\@|g' + ${XARGS} ${REINPLACE_CMD} -e 's|-g -O.|\@CXXFLAGS\@|g' @${FIND} ${WRKSRC}/Examples -name "Makefile.in" | \ - ${XARGS} ${PERL} -pi -e 's|-pedantic -Wall|-O0|g' + ${XARGS} ${REINPLACE_CMD} -e 's|-pedantic -Wall|-O0|g' .include <bsd.port.mk> diff --git a/misc/shc/Makefile b/misc/shc/Makefile index 0eac45c17ea5..be9d2bdc8364 100644 --- a/misc/shc/Makefile +++ b/misc/shc/Makefile @@ -14,12 +14,13 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes ALL_TARGET= shc MAN1= shc.1 post-patch: - @${PERL} -pi -e "s,^CFLAGS,#CFLAGS},g ; \ + @${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS},g ; \ s,/usr/local,${PREFIX},g" ${WRKSRC}/Makefile .include <bsd.port.mk> diff --git a/misc/txt2regex/Makefile b/misc/txt2regex/Makefile index 214ffffa958c..e3c6e41f7a53 100644 --- a/misc/txt2regex/Makefile +++ b/misc/txt2regex/Makefile @@ -16,12 +16,13 @@ MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 +USE_REINPLACE= yes NO_BUILD= yes post-patch: - @${PERL} -pi -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \ + @${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \ s,\`seq,\`gseq,g" ${WRKSRC}/${DISTNAME}.sh - @${PERL} -pi -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.sh ${PREFIX}/bin/txt2regex diff --git a/misc/xpns/Makefile b/misc/xpns/Makefile index 211e9c653f77..c0b4a4ef6583 100644 --- a/misc/xpns/Makefile +++ b/misc/xpns/Makefile @@ -13,13 +13,14 @@ DISTFILES= pns_source.tar.Z MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes NO_WRKSUBDIR= yes USE_X_PREFIX= yes MAKEFILE= makefile ALL_TARGET= pns post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns + @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns do-install: ${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns diff --git a/misc/yaunc/Makefile b/misc/yaunc/Makefile index 72e94b78664b..8f8c6e832e7d 100644 --- a/misc/yaunc/Makefile +++ b/misc/yaunc/Makefile @@ -13,13 +13,14 @@ MASTER_SITES= http://www.redterror.net/code/yaunc/ MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes GNU_CONFIGURE= yes MAN1= yaunc.1 post-patch: @${CP} -f ${FILESDIR}/startup ${WRKSRC}/yaunc.sh .for file in yaunc.1 yaunc.sh - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} + @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} .endfor do-install: |