aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-08 22:16:54 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-08 22:16:54 +0000
commit9d4b7436002f6021810b7843cdc63df2a96a4c99 (patch)
tree25817ab492d5a9116d97bbb166029eade9afe052 /net-p2p
parent0837d859468a04ef670bb27c61b646dce4522e86 (diff)
downloadports-9d4b7436002f6021810b7843cdc63df2a96a4c99.tar.gz
ports-9d4b7436002f6021810b7843cdc63df2a96a4c99.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)
Notes
Notes: svn path=/head/; revision=260785
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