aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-31 21:26:33 +0800
committerpawel <pawel@FreeBSD.org>2014-05-31 21:26:33 +0800
commit8b4067381a09d312288a4339b5dde8a616829663 (patch)
tree32280ceefee24777f73b53f2bd6bbf10f687eb2e /java
parent6de175f8093c492aab705e0994461fa8a0786ccb (diff)
downloadfreebsd-ports-gnome-8b4067381a09d312288a4339b5dde8a616829663.tar.gz
freebsd-ports-gnome-8b4067381a09d312288a4339b5dde8a616829663.tar.zst
freebsd-ports-gnome-8b4067381a09d312288a4339b5dde8a616829663.zip
- Add staging support
- Convert to USES=tar:bzip2
Diffstat (limited to 'java')
-rw-r--r--java/java3d/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/java/java3d/Makefile b/java/java3d/Makefile
index a26ccaffc937..d157d8a82f85 100644
--- a/java/java3d/Makefile
+++ b/java/java3d/Makefile
@@ -11,8 +11,7 @@ DISTNAME= java3d-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Provides API for creating and manipulation of 3D geometry
-USE_BZIP2= yes
-
+USES= tar:bzip2
USE_JAVA= yes
USE_GL= gl
USE_XORG= xt
@@ -25,7 +24,6 @@ PLIST_SUB+= JAVA_HOME=${JAVA_HOME:S/^${PREFIX}\///} ARCH=${ARCH}
DOCSSRC= ${WRKSRC}/j3d-core/build/freebsd/javadocs/docs-public
PORTDOCS= *
-NO_STAGE= yes
RESTRICTED= License does not allow distribution
OPTIONS_DEFINE= DOCS
@@ -51,19 +49,21 @@ do-build:
.endif
do-install:
+ @${MKDIR} ${STAGEDIR}${JAVA_HOME}/jre/lib/ext
${INSTALL_DATA} \
${WRKSRC}/vecmath/dist/lib/ext/vecmath.jar \
${WRKSRC}/j3d-core/build/default/opt/lib/ext/j3dcore.jar \
${WRKSRC}/j3d-core/build/default/opt/lib/ext/j3dutils.jar \
- ${JAVA_HOME}/jre/lib/ext
+ ${STAGEDIR}${JAVA_HOME}/jre/lib/ext
+ @${MKDIR} ${STAGEDIR}${JAVA_HOME}/jre/lib/${ARCH}
${INSTALL} \
${WRKSRC}/j3d-core/build/default/opt/native/libj3dcore-ogl.so \
- ${JAVA_HOME}/jre/lib/${ARCH}
+ ${STAGEDIR}${JAVA_HOME}/jre/lib/${ARCH}
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- cd ${DOCSSRC} && ${COPYTREE_SHARE} \* ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${DOCSSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>