diff options
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%%" |