aboutsummaryrefslogtreecommitdiff
path: root/net/freenet6
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 12:02:58 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 12:02:58 +0000
commit53de51629baad89984a5666ea9cf58d1407f89a9 (patch)
treecaa98dbdffa44df6addaa7561899d7f1d35e57b1 /net/freenet6
parentfa5ccdf79ca81f233d6380a8c3e8010ca53da8a6 (diff)
downloadports-53de51629baad89984a5666ea9cf58d1407f89a9.tar.gz
ports-53de51629baad89984a5666ea9cf58d1407f89a9.zip
Use SUB_FILES
Notes
Notes: svn path=/head/; revision=158537
Diffstat (limited to 'net/freenet6')
-rw-r--r--net/freenet6/Makefile13
-rw-r--r--net/freenet6/files/pkg-message.in6
2 files changed, 4 insertions, 15 deletions
diff --git a/net/freenet6/Makefile b/net/freenet6/Makefile
index 1eed21535ed3..ab6c0df825e0 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 c39f1aa0cb93..67aae6f922db 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,