diff options
Diffstat (limited to 'net-p2p/freenet05')
-rw-r--r-- | net-p2p/freenet05/Makefile | 7 | ||||
-rw-r--r-- | net-p2p/freenet05/distinfo | 4 | ||||
-rw-r--r-- | net-p2p/freenet05/files/wrapper.sh | 3 |
3 files changed, 9 insertions, 5 deletions
diff --git a/net-p2p/freenet05/Makefile b/net-p2p/freenet05/Makefile index d6a30739de0f..937e84c2d2f1 100644 --- a/net-p2p/freenet05/Makefile +++ b/net-p2p/freenet05/Makefile @@ -6,10 +6,10 @@ # PORTNAME= freenet -PORTVERSION= 0.5.2.1.5099 +PORTVERSION= 0.5.2.1.5100 CATEGORIES= net java security MASTER_SITES= http://freenetproject.org/snapshots/ -DISTNAME= ${PORTNAME}-20041026 +DISTNAME= ${PORTNAME}-20041122 EXTRACT_SUFX= .tgz MAINTAINER= lioux@FreeBSD.org @@ -22,7 +22,7 @@ NO_BUILD_DEPENDS_JAVA= yes WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_SUB= JAR_DIR=${JAR_DIR} -JAVAVM= ${LOCALBASE}/bin/javavm +JAVAVM= ${LOCALBASE}/bin/java JAR_DIR= share/java/jar/${PORTNAME} # DATA_FILES= seednodes.ref @@ -38,6 +38,7 @@ PORTDOCS= ${DOC_FILES} post-patch: @${SED} -e "s|%%PREFIX%%|${PREFIX}|; \ s|%%DATA_DIR%%|${DATADIR:S,^${PREFIX}/,,}|; \ + s|%%JAVA_VERSION%%|${USE_JAVA}|; \ s|%%JAVAVM%%|${JAVAVM}|; \ s|%%JAR_DIR%%|${JAR_DIR}|; \ s|%%JAR_FILES%%|${JAR_FILES}|; \ diff --git a/net-p2p/freenet05/distinfo b/net-p2p/freenet05/distinfo index 8d1de8ef4989..668489a64ef6 100644 --- a/net-p2p/freenet05/distinfo +++ b/net-p2p/freenet05/distinfo @@ -1,2 +1,2 @@ -MD5 (freenet-20041026.tgz) = 3bf75dbc0c3de4a224f559ff3fae03d2 -SIZE (freenet-20041026.tgz) = 6086605 +MD5 (freenet-20041122.tgz) = f069d7cf46465ae6a10edaec014e124d +SIZE (freenet-20041122.tgz) = 5975450 diff --git a/net-p2p/freenet05/files/wrapper.sh b/net-p2p/freenet05/files/wrapper.sh index 7b1a3b3b5659..8d57ff0b023a 100644 --- a/net-p2p/freenet05/files/wrapper.sh +++ b/net-p2p/freenet05/files/wrapper.sh @@ -3,8 +3,11 @@ # Under a BSDL license. Copyright by Mario S F Ferreira <lioux@FreeBSD.org> # $FreeBSD$ +export JAVA_VERSION + PREFIX="%%PREFIX%%" # java +JAVA_VERSION="%%JAVA_VERSION%%" JAVAVM_CALL="%%JAVAVM%%" JAR_DIR="%%JAR_DIR%%" JAR_FILES="%%JAR_FILES%%" |