aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/frost
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-12-01 08:17:11 +0800
committerlioux <lioux@FreeBSD.org>2004-12-01 08:17:11 +0800
commitbea19d0a86a174f41acb0603ba123725cd7b4cf8 (patch)
treef763b3daa139f03c93bfecf9ac1b4ea4cf01ab28 /net-p2p/frost
parente1a76b717e0c6e96a8a6395ee92e4d857c43a57b (diff)
downloadfreebsd-ports-graphics-bea19d0a86a174f41acb0603ba123725cd7b4cf8.tar.gz
freebsd-ports-graphics-bea19d0a86a174f41acb0603ba123725cd7b4cf8.tar.zst
freebsd-ports-graphics-bea19d0a86a174f41acb0603ba123725cd7b4cf8.zip
o Bump PORTREVISION
o Update FILESDIR/wrapper.sh wrapper script to new javavmwrapper behavior
Diffstat (limited to 'net-p2p/frost')
-rw-r--r--net-p2p/frost/Makefile5
-rw-r--r--net-p2p/frost/files/wrapper.sh3
2 files changed, 6 insertions, 2 deletions
diff --git a/net-p2p/frost/Makefile b/net-p2p/frost/Makefile
index a3257a331eb..d2d1bd02642 100644
--- a/net-p2p/frost/Makefile
+++ b/net-p2p/frost/Makefile
@@ -7,7 +7,7 @@
PORTNAME= frost
PORTVERSION= 1.2.0.20040225
-PORTEPOCH= 1
+PORTEPOCH= 2
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jtcfrost
@@ -27,7 +27,7 @@ PLIST_SUB= JAR_DIR=${JAR_DIR}
VERSION_DATE= 090603
-JAVAVM= ${LOCALBASE}/bin/javavm
+JAVAVM= ${LOCALBASE}/bin/java
SHARE_DIR= share/${PORTNAME}
JAR_DIR= share/java/jar/${PORTNAME}
JAR_FILE= frost.jar
@@ -48,6 +48,7 @@ SHARE_FILES= config/boards.xml.default \
post-patch:
@${SED} -e "s|%%PREFIX%%|${PREFIX}|; \
+ s|%%JAVA_VERSION%%|${USE_JAVA}|; \
s|%%JAVAVM%%|${JAVAVM}|; \
s|%%JAR_DIR%%|${JAR_DIR}|; \
s|%%JAR_FILE%%|${JAR_FILE}|; \
diff --git a/net-p2p/frost/files/wrapper.sh b/net-p2p/frost/files/wrapper.sh
index d64b12941f6..b65c91b447e 100644
--- a/net-p2p/frost/files/wrapper.sh
+++ b/net-p2p/frost/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%%"