diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2004-11-30 23:48:25 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2004-11-30 23:48:25 +0000 |
commit | 0c7fedabe9b7f1fd2a37ab825a857bfbae101165 (patch) | |
tree | 6190eff3ea2709cc711d6e7f961e9bc19476addd /net-p2p/xnap | |
parent | a5d29142c4b701b930b61e36974f73edab2afbf3 (diff) | |
download | ports-0c7fedabe9b7f1fd2a37ab825a857bfbae101165.tar.gz ports-0c7fedabe9b7f1fd2a37ab825a857bfbae101165.zip |
Notes
Diffstat (limited to 'net-p2p/xnap')
-rw-r--r-- | net-p2p/xnap/Makefile | 7 | ||||
-rw-r--r-- | net-p2p/xnap/distinfo | 4 | ||||
-rw-r--r-- | net-p2p/xnap/files/wrapper.sh | 3 |
3 files changed, 9 insertions, 5 deletions
diff --git a/net-p2p/xnap/Makefile b/net-p2p/xnap/Makefile index d30f3ce9a1e1..190a12c0734d 100644 --- a/net-p2p/xnap/Makefile +++ b/net-p2p/xnap/Makefile @@ -6,12 +6,12 @@ # PORTNAME= XNap -PORTVERSION= 2.5.r2 CATEGORIES= net audio java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME:L} +DISTVERSION= 2.5r3 #DISTNAME= ${PORTNAME:L}-${PORTVERSION:S/.p/-pre/:S/.b/-beta/} -DISTNAME= xnap-2.5r2 +DISTNAME= ${PORTNAME:L}-${DISTVERSION} MAINTAINER= lioux@FreeBSD.org COMMENT= A pure java napster client; also, supports OpenNap & giFT (FastTrack) @@ -21,7 +21,7 @@ NO_BUILD= yes NO_BUILD_DEPENDS_JAVA= yes PLIST_SUB= JAR_DIR=${JAR_DIR} -JAVAVM= ${LOCALBASE}/bin/javavm +JAVAVM= ${LOCALBASE}/bin/java JAR_DIR= share/java/jar/${PORTNAME} DOC_FILES= AUTHORS COPYING COPYING.LIB NEWS README \ @@ -29,6 +29,7 @@ DOC_FILES= AUTHORS COPYING COPYING.LIB NEWS README \ post-patch: @${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAVAVM%%|${JAVAVM}|; \ + s|%%JAVA_VERSION%%|${USE_JAVA}|; \ s|%%PREFIX%%|${PREFIX}|" \ ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh diff --git a/net-p2p/xnap/distinfo b/net-p2p/xnap/distinfo index 794e4188a04f..6a2db1eb2836 100644 --- a/net-p2p/xnap/distinfo +++ b/net-p2p/xnap/distinfo @@ -1,2 +1,2 @@ -MD5 (xnap-2.5r2.tar.gz) = 3e2a9306cd6f762e00c22027000bdff4 -SIZE (xnap-2.5r2.tar.gz) = 1219147 +MD5 (xnap-2.5r3.tar.gz) = 51362d73c5802cef6b981ea95b3225fc +SIZE (xnap-2.5r3.tar.gz) = 1220590 diff --git a/net-p2p/xnap/files/wrapper.sh b/net-p2p/xnap/files/wrapper.sh index c7f03e9fb6c8..da6e675fd28e 100644 --- a/net-p2p/xnap/files/wrapper.sh +++ b/net-p2p/xnap/files/wrapper.sh @@ -1,6 +1,9 @@ #!/bin/sh +export JAVA_VERSION + PREFIX="%%PREFIX%%" +JAVA_VERSION="%%JAVA_VERSION%%" JAVAVM="%%JAVAVM%%" JAR_DIR="%%JAR_DIR%%" JAR_FILE=xnap.jar |