diff options
author | edwin <edwin@FreeBSD.org> | 2006-04-01 12:02:58 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-04-01 12:02:58 +0000 |
commit | 8f71ea497f0a78cb0cad00a9b36164ef5ba0224f (patch) | |
tree | b12560abfc7f4dafe5804fbfff152877f57e7cd0 /net | |
parent | e53b0b95311c466f8445e270be70b3cd52f579c0 (diff) | |
download | FreeBSD-ports-8f71ea497f0a78cb0cad00a9b36164ef5ba0224f.zip FreeBSD-ports-8f71ea497f0a78cb0cad00a9b36164ef5ba0224f.tar.gz |
Use SUB_FILES
Diffstat (limited to 'net')
-rw-r--r-- | net/freenet6/Makefile | 13 | ||||
-rw-r--r-- | net/freenet6/files/pkg-message.in | 6 |
2 files changed, 4 insertions, 15 deletions
diff --git a/net/freenet6/Makefile b/net/freenet6/Makefile index 1eed215..ab6c0df 100644 --- a/net/freenet6/Makefile +++ b/net/freenet6/Makefile @@ -24,6 +24,7 @@ MAN8= tspc.8 MAN5= tspc.conf.5 PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= freenet6.sh pkg-message .include <bsd.port.pre.mk> @@ -51,18 +52,6 @@ post-install: @${CAT} ${PKGMESSAGE} post-patch: - @${CP} ${FILESDIR}/freenet6.sh.in ${WRKDIR}/freenet6.sh - @${REINPLACE_CMD} \ - -e "s,%%PREFIX%%,${PREFIX},g" \ - -e "s,%%RC_SUBR%%,${RC_SUBR},g" \ - ${WRKDIR}/freenet6.sh - - @${CP} ${FILESDIR}/pkg-message.in ${WRKDIR}/pkg-message - @${REINPLACE_CMD} \ - -e "s|@@PREFIX@@|${PREFIX}|g" \ - -e "s|@@EXAMPLESDIR@@|${EXAMPLESDIR}|g" \ - ${WRKDIR}/pkg-message - @${REINPLACE_CMD} \ -e "s|/installdir/bin|${PREFIX}/etc|g" \ ${WRKSRC}/man/man8/tspc.8 diff --git a/net/freenet6/files/pkg-message.in b/net/freenet6/files/pkg-message.in index c39f1aa..67aae6f 100644 --- a/net/freenet6/files/pkg-message.in +++ b/net/freenet6/files/pkg-message.in @@ -1,9 +1,9 @@ Now that the package is installed, please finish it with the following steps: -- Copy @@EXAMPLESDIR@@/tspc.conf.sample to @@PREFIX@@/etc/tspc.conf -- Check the values of @@PREFIX@@/etc/tspc.conf. If you have registered at +- Copy %%EXAMPLESDIR%%/tspc.conf.sample to %%PREFIX%%/etc/tspc.conf +- Check the values of %%PREFIX%%/etc/tspc.conf. If you have registered at the website, fill in your userid and password there. -- Run @@PREFIX@@/etc/rc.d/freenet6.sh to start the tunnel. +- Run %%PREFIX%%/etc/rc.d/freenet6.sh to start the tunnel. - Try to ping a IPv6 host, for example: ping6 www.jp.freebsd.org Please note that tsps[12].freenet6.net are not in service anymore, |