aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-09-09 06:16:54 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-09-09 06:16:54 +0800
commit38f848f9834539a0db3fe5caff96891530965649 (patch)
treeccd1e1cd76885e88782dc4ff4435268ab8d1308f /net-p2p
parentef026d6215aec95196ceeb7cf1b4f14a568ed3b7 (diff)
downloadfreebsd-ports-gnome-38f848f9834539a0db3fe5caff96891530965649.tar.gz
freebsd-ports-gnome-38f848f9834539a0db3fe5caff96891530965649.tar.zst
freebsd-ports-gnome-38f848f9834539a0db3fe5caff96891530965649.zip
- use SUB_FILES instead of SED directly
PR: ports/143194 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: maintainer timeout (lioux ; 221 days)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/i2p/Makefile5
-rw-r--r--net-p2p/i2p/files/wrapper.sh.in (renamed from net-p2p/i2p/files/wrapper.sh)0
2 files changed, 2 insertions, 3 deletions
diff --git a/net-p2p/i2p/Makefile b/net-p2p/i2p/Makefile
index 3403e778973d..775409b91dad 100644
--- a/net-p2p/i2p/Makefile
+++ b/net-p2p/i2p/Makefile
@@ -61,14 +61,13 @@ PLIST_FILES= \
JETTY_DISTFILE= jetty-5.1.15.tgz
+SUB_FILES= wrapper.sh
+
post-extract:
@${MKDIR} ${WRKSRC}/apps/jetty/
@${CP} -f ${DISTDIR}/${JETTY_DISTFILE} ${WRKSRC}/apps/jetty/
post-patch:
- @${SED} \
- -e "s|%%DATADIR%%|${DATADIR}|" \
- ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
# postinstall.sh SHOULD only do post installation house keeping
@${REINPLACE_CMD} -E \
-e 's|./i2prouter[[:space:]]+start||' \
diff --git a/net-p2p/i2p/files/wrapper.sh b/net-p2p/i2p/files/wrapper.sh.in
index e765ab2c0a56..e765ab2c0a56 100644
--- a/net-p2p/i2p/files/wrapper.sh
+++ b/net-p2p/i2p/files/wrapper.sh.in