aboutsummaryrefslogtreecommitdiffstats
path: root/net/freenet6
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-04-01 20:02:58 +0800
committeredwin <edwin@FreeBSD.org>2006-04-01 20:02:58 +0800
commit8f71ea497f0a78cb0cad00a9b36164ef5ba0224f (patch)
treeb12560abfc7f4dafe5804fbfff152877f57e7cd0 /net/freenet6
parente53b0b95311c466f8445e270be70b3cd52f579c0 (diff)
downloadfreebsd-ports-gnome-8f71ea497f0a78cb0cad00a9b36164ef5ba0224f.tar.gz
freebsd-ports-gnome-8f71ea497f0a78cb0cad00a9b36164ef5ba0224f.tar.zst
freebsd-ports-gnome-8f71ea497f0a78cb0cad00a9b36164ef5ba0224f.zip
Use SUB_FILES
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,