diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2001-11-20 20:45:55 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2001-11-20 20:45:55 +0000 |
commit | 23036526db217ed9c7dc03ea6f88ba29b34a4062 (patch) | |
tree | d1e067e03b885fffb796683762875af3822123b1 /net/freenet6/Makefile | |
parent | e0c0d00cc2e522c364d78b09e76788427af18745 (diff) | |
download | ports-23036526db217ed9c7dc03ea6f88ba29b34a4062.tar.gz ports-23036526db217ed9c7dc03ea6f88ba29b34a4062.zip |
Notes
Diffstat (limited to 'net/freenet6/Makefile')
-rw-r--r-- | net/freenet6/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/net/freenet6/Makefile b/net/freenet6/Makefile index 9602433bebad..53d18a168c55 100644 --- a/net/freenet6/Makefile +++ b/net/freenet6/Makefile @@ -16,6 +16,8 @@ MAINTAINER= edwin@mavetju.org MAN8= tspc.8 MAN5= tspc.conf.5 +PKGMESSAGE= ${WRKSRC}/pkg-message + .include <bsd.port.pre.mk> .if ${OSVERSION} < 400000 @@ -50,17 +52,17 @@ do-install: @${INSTALL_SCRIPT} ${WRKSRC}/template/freebsd4.sh ${PREFIX}/bin/tspc-freebsd4.sh @${INSTALL_MAN} ${WRKSRC}/man/man8/tspc.8 ${PREFIX}/man/man8 @${INSTALL_MAN} ${WRKSRC}/man/man5/tspc.conf.5 ${PREFIX}/man/man5 - @${INSTALL_SCRIPT} ${FILESDIR}/freenet6.sh ${PREFIX}/etc/rc.d/ + @${INSTALL_SCRIPT} ${WRKSRC}/freenet6.sh ${PREFIX}/etc/rc.d/ post-install: - @${CAT} pkg-message + @${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 - @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/freenet6.sh.in > ${FILESDIR}/freenet6.sh - @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/pkg-message.in > pkg-message + @${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 @${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 @@ -68,7 +70,4 @@ post-patch: @${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 -post-clean: - @${RM} -f ${FILESDIR}/freenet6.sh - .include <bsd.port.post.mk> |