diff options
author | lioux <lioux@FreeBSD.org> | 2004-12-01 08:17:11 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2004-12-01 08:17:11 +0800 |
commit | bea19d0a86a174f41acb0603ba123725cd7b4cf8 (patch) | |
tree | f763b3daa139f03c93bfecf9ac1b4ea4cf01ab28 /net/edonkey-gui-java | |
parent | e1a76b717e0c6e96a8a6395ee92e4d857c43a57b (diff) | |
download | freebsd-ports-gnome-bea19d0a86a174f41acb0603ba123725cd7b4cf8.tar.gz freebsd-ports-gnome-bea19d0a86a174f41acb0603ba123725cd7b4cf8.tar.zst freebsd-ports-gnome-bea19d0a86a174f41acb0603ba123725cd7b4cf8.zip |
o Bump PORTREVISION
o Update FILESDIR/wrapper.sh wrapper script to new javavmwrapper
behavior
Diffstat (limited to 'net/edonkey-gui-java')
-rw-r--r-- | net/edonkey-gui-java/Makefile | 5 | ||||
-rw-r--r-- | net/edonkey-gui-java/files/wrapper.sh | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/net/edonkey-gui-java/Makefile b/net/edonkey-gui-java/Makefile index d68d9738f4cb..93ee20791c9d 100644 --- a/net/edonkey-gui-java/Makefile +++ b/net/edonkey-gui-java/Makefile @@ -7,7 +7,7 @@ PORTNAME= edonkey PORTVERSION= 1.1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net java MASTER_SITES= http://www.edonkey2000.com/files/ PKGNAMESUFFIX= -gui-java @@ -28,11 +28,12 @@ PLIST_SUB= JAR_DIR=${JAR_DIR} \ JAR_FILE=${JAR_FILE} \ WRAPPER=${PORTNAME}${PKGNAMESUFFIX} -JAVAVM= ${LOCALBASE}/bin/javavm +JAVAVM= ${LOCALBASE}/bin/java JAR_DIR= share/java/jar/${PORTNAME} post-patch: @${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAR_FILE%%|${JAR_FILE}|; \ + s|%%JAVA_VERSION%%|${USE_JAVA}|; \ s|%%JAVAVM%%|${JAVAVM}|;s|%%PREFIX%%|${PREFIX}|" \ ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh diff --git a/net/edonkey-gui-java/files/wrapper.sh b/net/edonkey-gui-java/files/wrapper.sh index 0f4e2ba5d1b1..9f50395b16ae 100644 --- a/net/edonkey-gui-java/files/wrapper.sh +++ b/net/edonkey-gui-java/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="%%JAR_FILE%%" |