diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-31 13:26:33 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-31 13:26:33 +0000 |
commit | e91eb32c491e738e96e6e619405a9edb5aceb191 (patch) | |
tree | 32280ceefee24777f73b53f2bd6bbf10f687eb2e | |
parent | 59ca7f51767992ed2e8c614f41ab4adca2ce7023 (diff) | |
download | ports-e91eb32c491e738e96e6e619405a9edb5aceb191.tar.gz ports-e91eb32c491e738e96e6e619405a9edb5aceb191.zip |
Notes
-rw-r--r-- | java/java3d/Makefile | 14 |
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> |