diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-07-19 09:26:31 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-07-19 09:26:31 +0000 |
commit | 23bde94bb6ad2c4c84be0516393a9c4f472b6b72 (patch) | |
tree | b04926c23f5adf16ac39b7d8ac9cfc542d09e4ca /net/freenet6 | |
parent | 646a0f2432451c7a003379f4c3cc36bce649f0c6 (diff) | |
download | FreeBSD-ports-23bde94bb6ad2c4c84be0516393a9c4f472b6b72.zip FreeBSD-ports-23bde94bb6ad2c4c84be0516393a9c4f472b6b72.tar.gz |
${PERL} -> ${REINPLACE_CMD}
${SED} -> ${REINPLACE_CMD}
PR: 40750
Submitted by: 40751
Reviewed by: maintainer
Diffstat (limited to 'net/freenet6')
-rw-r--r-- | net/freenet6/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/net/freenet6/Makefile b/net/freenet6/Makefile index fd21fd1..72ec3c3 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> |