diff options
author | lioux <lioux@FreeBSD.org> | 2004-12-01 07:48:25 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2004-12-01 07:48:25 +0800 |
commit | a044e541b7d2bb7495fb6411b44fa104ff73d06d (patch) | |
tree | f687c7b55bcf72c69e1f9783bd1481202ac5daad /net-p2p | |
parent | 85888d1867038de6ef20aa944e1dd858e66cc6aa (diff) | |
download | freebsd-ports-gnome-a044e541b7d2bb7495fb6411b44fa104ff73d06d.tar.gz freebsd-ports-gnome-a044e541b7d2bb7495fb6411b44fa104ff73d06d.tar.zst freebsd-ports-gnome-a044e541b7d2bb7495fb6411b44fa104ff73d06d.zip |
o Update 2.5.r3
o Update FILESDIR/wrapper.sh wrapper script to new javavmwrapper
behavior
Diffstat (limited to 'net-p2p')
-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 |