diff options
author | lioux <lioux@FreeBSD.org> | 2004-12-01 00:17:11 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2004-12-01 00:17:11 +0000 |
commit | bea19d0a86a174f41acb0603ba123725cd7b4cf8 (patch) | |
tree | f763b3daa139f03c93bfecf9ac1b4ea4cf01ab28 /net/edonkey-gui-java | |
parent | e1a76b717e0c6e96a8a6395ee92e4d857c43a57b (diff) | |
download | FreeBSD-ports-bea19d0a86a174f41acb0603ba123725cd7b4cf8.zip FreeBSD-ports-bea19d0a86a174f41acb0603ba123725cd7b4cf8.tar.gz |
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 d68d973..93ee207 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 0f4e2ba..9f50395 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%%" |