diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-19 09:26:31 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-19 09:26:31 +0000 |
commit | fe89b08a0b3d4b087e1e69dec4aedfaad53cf4fa (patch) | |
tree | e3d3ba4862ab52be1a1a3b041452e3e6944b245c | |
parent | 73a790fd3972b97caa1d9aa09a58a2d76a6b819e (diff) | |
download | ports-fe89b08a0b3d4b087e1e69dec4aedfaad53cf4fa.tar.gz ports-fe89b08a0b3d4b087e1e69dec4aedfaad53cf4fa.zip |
${PERL} -> ${REINPLACE_CMD}
${SED} -> ${REINPLACE_CMD}
PR: 40750
Submitted by: 40751
Reviewed by: maintainer
Notes
Notes:
svn path=/head/; revision=63230
-rw-r--r-- | games/xrobots/Makefile | 4 | ||||
-rw-r--r-- | lang/tcl-manual/Makefile | 11 | ||||
-rw-r--r-- | mail/mavbiff/Makefile | 3 | ||||
-rw-r--r-- | net/freenet6/Makefile | 21 | ||||
-rw-r--r-- | net/ipfw-graph/Makefile | 3 | ||||
-rw-r--r-- | ports-mgmt/pkg_tree/Makefile | 4 | ||||
-rw-r--r-- | sysutils/pkg_tree/Makefile | 4 |
7 files changed, 33 insertions, 17 deletions
diff --git a/games/xrobots/Makefile b/games/xrobots/Makefile index 6a5195fa9782..e7b976d9a70a 100644 --- a/games/xrobots/Makefile +++ b/games/xrobots/Makefile @@ -13,6 +13,7 @@ DISTNAME= ${PKGNAME}-ss-10.20 MAINTAINER= edwin@mavetju.org +USE_REINPLACE= yes USE_IMAKE= yes WRKSRC= ${WRKDIR}/xrobots-1.0 MAN6= xrobots.6 @@ -21,6 +22,7 @@ post-install: ${INSTALL} -c -g games -m 664 ${FILESDIR}/xrobotscores ${PREFIX}/lib/X11 post-patch: - ${PERL} -pi -e 's|__PREFIX__|${PREFIX}|g' ${WRKSRC}/xrobots.man ${WRKSRC}/Imakefile + ${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|g' \ + ${WRKSRC}/xrobots.man ${WRKSRC}/Imakefile .include <bsd.port.mk> diff --git a/lang/tcl-manual/Makefile b/lang/tcl-manual/Makefile index 9269533eb912..6deaf247b763 100644 --- a/lang/tcl-manual/Makefile +++ b/lang/tcl-manual/Makefile @@ -14,18 +14,21 @@ DISTFILES= tcl8.3.4.html.tar.gz tcl8.4a3.html.tar.gz MAINTAINER= edwin@mavetju.org +USE_REINPLACE= yes NO_WRKSUBDIR= yes NO_BUILD= yes post-patch: @${RM} ${WRKDIR}/tcl8.3.4/html/UserCmd/*.orig @${RM} ${WRKDIR}/tcl8.4a3/html/UserCmd/*.orig - @${PERL} -pi -e 's|tcl\.h|tcl8.3/tcl.h|g' \ + @${REINPLACE_CMD} -e 's|tcl\.h|tcl8.3/tcl.h|g' \ ${WRKDIR}/tcl8.3.4/html/TclLib/* - @${PERL} -pi -e 's|tk\.h|tk8.3/tk.h|g' ${WRKDIR}/tcl8.3.4/html/TkLib/* - @${PERL} -pi -e 's|tcl\.h|tcl8.4/tcl.h|g' \ + @${REINPLACE_CMD} -e 's|tk\.h|tk8.3/tk.h|g' \ + ${WRKDIR}/tcl8.3.4/html/TkLib/* + @${REINPLACE_CMD} -e 's|tcl\.h|tcl8.4/tcl.h|g' \ ${WRKDIR}/tcl8.4a3/html/TclLib/* - @${PERL} -pi -e 's|tk\.h|tk8.4/tk.h|g' ${WRKDIR}/tcl8.4a3/html/TkLib/* + @${REINPLACE_CMD} -e 's|tk\.h|tk8.4/tk.h|g' \ + ${WRKDIR}/tcl8.4a3/html/TkLib/* do-install: ${MKDIR} ${PREFIX}/share/doc/tcl83 diff --git a/mail/mavbiff/Makefile b/mail/mavbiff/Makefile index fd0742a4ad87..8655c5321e83 100644 --- a/mail/mavbiff/Makefile +++ b/mail/mavbiff/Makefile @@ -13,11 +13,12 @@ MASTER_SITES= http://www.mavetju.org/download/ MAINTAINER= edwin@mavetju.org USE_GTK= yes +USE_REINPLACE= yes MAN1= mavbiff.1 post-patch: - @${PERL} -pi -e "s|__GTK_CONFIG__|${GTK_CONFIG}|; \ + @${REINPLACE_CMD} -e "s|__GTK_CONFIG__|${GTK_CONFIG}|; \ s|__INSTALL_DATA__|${INSTALL_DATA}|; \ s|__INSTALL_PROG__|${INSTALL_PROGRAM}|" ${WRKSRC}/Makefile diff --git a/net/freenet6/Makefile b/net/freenet6/Makefile index fd21fd1e14ba..72ec3c316527 100644 --- a/net/freenet6/Makefile +++ b/net/freenet6/Makefile @@ -13,6 +13,8 @@ EXTRACT_SUFX= .tgz MAINTAINER= edwin@mavetju.org +USE_REINPLACE= yes + MAN8= tspc.8 MAN5= tspc.conf.5 @@ -58,16 +60,19 @@ post-install: @${CAT} ${PKGMESSAGE} post-patch: - @${MV} ${WRKSRC}/src/tspc.c ${WRKSRC}/src/tspc.c.orig - @${SED} -e "s|tspc.conf|${PREFIX}/etc/tspc.conf|" < ${WRKSRC}/src/tspc.c.orig > ${WRKSRC}/src/tspc.c + @${REINPLACE_CMD} -e "s|tspc.conf|${PREFIX}/etc/tspc.conf|" \ + ${WRKSRC}/src/tspc.c + + @${CP} ${FILESDIR}/freenet6.sh.in ${WRKSRC}/freenet6.sh + @${REINPLACE_CMD} -e "s|@@PREFIX@@|${PREFIX}|g" ${WRKSRC}/freenet6.sh - @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/freenet6.sh.in > ${WRKSRC}/freenet6.sh - @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/pkg-message.in > ${WRKSRC}/pkg-message + @${CP} ${FILESDIR}/pkg-message.in ${WRKSRC}/pkg-message + @${REINPLACE_CMD} -e "s|@@PREFIX@@|${PREFIX}|g" ${WRKSRC}/pkg-message - @${MV} ${WRKSRC}/man/man8/tspc.8 ${WRKSRC}/man/man8/tspc.8.orig - @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${WRKSRC}/man/man8/tspc.8.orig > ${WRKSRC}/man/man8/tspc.8 + @${REINPLACE_CMD} -e "s|@@PREFIX@@|${PREFIX}|g" \ + ${WRKSRC}/man/man8/tspc.8 - @${MV} ${WRKSRC}/man/man5/tspc.conf.5 ${WRKSRC}/man/man5/tspc.conf.5.orig - @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${WRKSRC}/man/man5/tspc.conf.5.orig > ${WRKSRC}/man/man5/tspc.conf.5 + @${REINPLACE_CMD} -e "s|@@PREFIX@@|${PREFIX}|g" \ + ${WRKSRC}/man/man5/tspc.conf.5 .include <bsd.port.post.mk> diff --git a/net/ipfw-graph/Makefile b/net/ipfw-graph/Makefile index 90fb357aee0b..f6093c5601b1 100644 --- a/net/ipfw-graph/Makefile +++ b/net/ipfw-graph/Makefile @@ -12,12 +12,13 @@ MASTER_SITES= http://www.mavetju.org/download/ MAINTAINER= edwin@mavetju.org +USE_REINPLACE= yes USE_GTK= yes MAKE_ENV+= MANPREFIX="${MANPREFIX}" MAN8= ipfw-al.8 ipfw-graph.8 pre-patch: - @${PERL} -pi -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/ipfw-graph.h + @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/ipfw-graph.h .include <bsd.port.mk> diff --git a/ports-mgmt/pkg_tree/Makefile b/ports-mgmt/pkg_tree/Makefile index eac9757b8c3e..75eb6a6e14b3 100644 --- a/ports-mgmt/pkg_tree/Makefile +++ b/ports-mgmt/pkg_tree/Makefile @@ -12,10 +12,12 @@ MASTER_SITES= http://www.mavetju.org/download/ MAINTAINER= edwin@mavetju.org +USE_REINPLACE= yes + MAN7= pkg_tree.7 post-patch: - @${PERL} -pi -e 's|__PREFIX__|${PREFIX}|g ; \ + @${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|g ; \ s|__INSTALL_MAN__|${INSTALL_MAN}|g ; \ s|__INSTALL_SCRIPT__|${INSTALL_SCRIPT}|g' ${WRKSRC}/Makefile diff --git a/sysutils/pkg_tree/Makefile b/sysutils/pkg_tree/Makefile index eac9757b8c3e..75eb6a6e14b3 100644 --- a/sysutils/pkg_tree/Makefile +++ b/sysutils/pkg_tree/Makefile @@ -12,10 +12,12 @@ MASTER_SITES= http://www.mavetju.org/download/ MAINTAINER= edwin@mavetju.org +USE_REINPLACE= yes + MAN7= pkg_tree.7 post-patch: - @${PERL} -pi -e 's|__PREFIX__|${PREFIX}|g ; \ + @${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|g ; \ s|__INSTALL_MAN__|${INSTALL_MAN}|g ; \ s|__INSTALL_SCRIPT__|${INSTALL_SCRIPT}|g' ${WRKSRC}/Makefile |