aboutsummaryrefslogtreecommitdiff
path: root/java/berkeley-db
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-16 12:05:36 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-16 12:05:36 +0000
commit5c9c35a01f6d8557d0fa188037e42ffd4a4df081 (patch)
tree9758dc71dc7bb054d947a8eef9f1d78730a344a7 /java/berkeley-db
parent6deefd29a8c889655bfcc532b447a913d0fb20b1 (diff)
downloadports-5c9c35a01f6d8557d0fa188037e42ffd4a4df081.tar.gz
ports-5c9c35a01f6d8557d0fa188037e42ffd4a4df081.zip
Notes
Diffstat (limited to 'java/berkeley-db')
-rw-r--r--java/berkeley-db/Makefile18
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>