diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2006-02-08 22:41:41 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2006-02-08 22:41:41 +0000 |
commit | 211c39f7b600f12cd6df3a8258a2a0d3963961eb (patch) | |
tree | 83160c03018f6511b69d7a2da1535c6035bd9cba /graphics/opendx | |
parent | 25cfc8434addec8a41f7f8947cdf94c8881a61c2 (diff) | |
download | ports-211c39f7b600f12cd6df3a8258a2a0d3963961eb.tar.gz ports-211c39f7b600f12cd6df3a8258a2a0d3963961eb.zip |
Notes
Diffstat (limited to 'graphics/opendx')
-rw-r--r-- | graphics/opendx/Makefile | 8 |
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} |