aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2006-02-19 08:24:29 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2006-02-19 08:24:29 +0000
commit29e650aa468e4947d7725052d67b64b040ab2d4a (patch)
treefbb2039a5939d6752bdce8013b590b1521877d3b /net-p2p
parent40c7451230a26c16e58b1d54eb2d8e545c33ec29 (diff)
downloadports-29e650aa468e4947d7725052d67b64b040ab2d4a.tar.gz
ports-29e650aa468e4947d7725052d67b64b040ab2d4a.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/i2p/Makefile11
-rw-r--r--net-p2p/i2p/files/i2p.sh.in (renamed from net-p2p/i2p/files/i2p.sh)0
2 files changed, 3 insertions, 8 deletions
diff --git a/net-p2p/i2p/Makefile b/net-p2p/i2p/Makefile
index 1ce98d880ea4..c056f00b512f 100644
--- a/net-p2p/i2p/Makefile
+++ b/net-p2p/i2p/Makefile
@@ -7,17 +7,18 @@
PORTNAME= i2p
PORTVERSION= 0.6.1.9
+PORTREVISION= 1
CATEGORIES= net-p2p java security
MASTER_SITES= http://dev.i2p.net/i2p/
MAINTAINER= lioux@FreeBSD.org
COMMENT= An anonymous network
+BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.a:${PORTSDIR}/math/libgmp4
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
USE_BZIP2= yes
-USE_RC_SUBR= yes
-USE_REINPLACE= yes
+USE_RC_SUBR= i2p.sh
USE_JAVA= yes
JAVA_VERSION= 1.4
@@ -75,9 +76,6 @@ post-patch:
@${REINPLACE_CMD} -E \
-e 's|./i2prouter[[:space:]]+start||' \
${WRKSRC}/installer/resources/postinstall.sh
-# rc.d
- @${SED} -e "s|%%PREFIX%%|${PREFIX}|" \
- ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}.sh
do-install:
@${MKDIR} ${DATADIR}
@@ -87,9 +85,6 @@ do-install:
# update
@${INSTALL_DATA} ${WRKSRC}/i2pupdate.zip \
${DATADIR}/
-# rc.d
- @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
- ${PREFIX}/etc/rc.d
# wrapper
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \
${PREFIX}/sbin/i2prouter
diff --git a/net-p2p/i2p/files/i2p.sh b/net-p2p/i2p/files/i2p.sh.in
index 25f8927faef0..25f8927faef0 100644
--- a/net-p2p/i2p/files/i2p.sh
+++ b/net-p2p/i2p/files/i2p.sh.in