aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-02-09 06:41:41 +0800
committerthierry <thierry@FreeBSD.org>2006-02-09 06:41:41 +0800
commit79c0cdbb490c5f710f16277753e312b137fde796 (patch)
treedd2f2295f8757bad542dfaf02ff7c84277550c4b /graphics
parent8df0e04d8e0c2c3ef184c8da2ff7fa776bc6e486 (diff)
downloadfreebsd-ports-gnome-79c0cdbb490c5f710f16277753e312b137fde796.tar.gz
freebsd-ports-gnome-79c0cdbb490c5f710f16277753e312b137fde796.tar.zst
freebsd-ports-gnome-79c0cdbb490c5f710f16277753e312b137fde796.zip
- 1) Set permissions as needed, thus opendx-samples won't change them;
- 2) Define JAVA_VERSION. (No need to bump PORTREVISION) Reported by: pointyhat via Kris (1) Reminded by: hq (2)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opendx/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index 8a5f3979f529..c73bf85d31ff 100644
--- a/graphics/opendx/Makefile
+++ b/graphics/opendx/Makefile
@@ -51,7 +51,8 @@ CONFIGURE_ARGS+= --without-netcdf
.endif
.if !defined(WITHOUT_JAVA)
-USE_JAVA= 1.3+
+USE_JAVA= yes
+JAVA_VERSION= 1.3+
BUILD_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:${PORTSDIR}/graphics/cosmoplayer
RUN_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:${PORTSDIR}/graphics/cosmoplayer
CONFIGURE_ARGS+= --with-cosmojar-path=${JAVALIBDIR}/npcosmop211.jar \
@@ -85,13 +86,16 @@ post-install:
@${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE}
.if !defined(WITHOUT_JAVA)
@${RM} ${PREFIX}/dx/java/server/bin/startserver.bat
- @${TOUCH} ${DIR2PRUNE:S|^|${PREFIX}/|:S|$|/.keepme|}
+ ${CHMOD} 0775 ${PREFIX}/dx/java/server/nets
+ ${TOUCH} ${DIR2PRUNE:S|^|${PREFIX}/|:S|$|/.keepme|}
@${ECHO} "---------------------------------------------------------" \
>> ${PKGMESSAGE}
@${ECHO} "Before starting ${PREFIX}/dx/java/server/bin/startserver" \
>> ${PKGMESSAGE}
@${ECHO} "you must install the port graphics/opendx-samples." \
>> ${PKGMESSAGE}
+.else
+ ${RMDIR} ${DIR2PRUNE:S|^|${PREFIX}/}
.endif
@${ECHO} "---------------------------------------------------------" \
>> ${PKGMESSAGE}