aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/freenet05/files
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-12-31 19:14:19 +0800
committerlioux <lioux@FreeBSD.org>2004-12-31 19:14:19 +0800
commit20836ba57494eea8f6346da868c89daa657a4e78 (patch)
tree73f1a3e6991bad4fa81ad28247e00527bf6ba4c0 /net-p2p/freenet05/files
parent38f3242dc921d6292b34293a767b5b2af8b99375 (diff)
downloadfreebsd-ports-gnome-20836ba57494eea8f6346da868c89daa657a4e78.tar.gz
freebsd-ports-gnome-20836ba57494eea8f6346da868c89daa657a4e78.tar.zst
freebsd-ports-gnome-20836ba57494eea8f6346da868c89daa657a4e78.zip
o Update to <bsd.java.mk> standard 2.0
o Bump PORTREVISION due to jar location changes Prompted by: hq
Diffstat (limited to 'net-p2p/freenet05/files')
-rw-r--r--net-p2p/freenet05/files/wrapper.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/net-p2p/freenet05/files/wrapper.sh b/net-p2p/freenet05/files/wrapper.sh
index 8d57ff0b023a..4c6a41452484 100644
--- a/net-p2p/freenet05/files/wrapper.sh
+++ b/net-p2p/freenet05/files/wrapper.sh
@@ -9,7 +9,7 @@ PREFIX="%%PREFIX%%"
# java
JAVA_VERSION="%%JAVA_VERSION%%"
JAVAVM_CALL="%%JAVAVM%%"
-JAR_DIR="%%JAR_DIR%%"
+JAVAJARDIR="%%JAVAJARDIR%%"
JAR_FILES="%%JAR_FILES%%"
JAR_START="%%JAR_START%%"
# data
@@ -84,10 +84,7 @@ prepare_home_dir () {
# link the jar files
for jar in ${JAR_FILES}
do
- if [ ! -h ${HOME_DIR}/${jar} ]
- then
- ln -sf ${PREFIX}/${JAR_DIR}/${jar} ${HOME_DIR}/${jar}
- fi
+ ln -sf ${PREFIX}/${JAVAJARDIR}/${jar} ${HOME_DIR}/${jar}
done
}