diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-16 12:05:36 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-16 12:05:36 +0000 |
commit | 5c9c35a01f6d8557d0fa188037e42ffd4a4df081 (patch) | |
tree | 9758dc71dc7bb054d947a8eef9f1d78730a344a7 /java | |
parent | Support staging (diff) |
Stage support
Notes
Notes:
svn path=/head/; revision=344543
Diffstat (limited to 'java')
-rw-r--r-- | java/berkeley-db/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/java/berkeley-db/Makefile b/java/berkeley-db/Makefile index b78d47a159da..d0baf85fc52d 100644 --- a/java/berkeley-db/Makefile +++ b/java/berkeley-db/Makefile @@ -12,7 +12,7 @@ MASTER_SITES= http://download.oracle.com/berkeley-db/ \ MAINTAINER= mi@aldan.algebra.com COMMENT= Berkeley DB Java Edition -OPTIONS_DEFINE= TEST +OPTIONS_DEFINE= DOCS EXAMPLES TEST BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit @@ -28,7 +28,6 @@ PLIST_FILES= %%JAVAJARDIR%%/je.jar PORTDOCS= * PORTEXAMPLES= * -NO_STAGE= yes test: # # Running the vendor-provided self-tests. This may take a while @@ -62,19 +61,14 @@ post-build: # .endif - post-patch: @${REINPLACE_CMD} "s,/usr/local,${PREFIX}," ${WRKSRC}/build.xml do-install: - @${INSTALL_DATA} ${WRKSRC}/build/lib/je.jar ${JAVAJARDIR} -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} \* ${DOCSDIR}) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif + @${INSTALL_DATA} ${WRKSRC}/build/lib/je.jar ${STAGEDIR}${JAVAJARDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include <bsd.port.mk> |