aboutsummaryrefslogtreecommitdiffstats
path: root/databases/jdbm2
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2014-05-12 20:46:19 +0800
committerale <ale@FreeBSD.org>2014-05-12 20:46:19 +0800
commit64a4455ca5f015d4f8becc7e20aab4aeba9c7cd4 (patch)
tree0a2cf2b4f95c37066ee50dcd086e7f78efd3fa50 /databases/jdbm2
parent70e87320e1d998168333f46155065f9a187b35f3 (diff)
downloadfreebsd-ports-gnome-64a4455ca5f015d4f8becc7e20aab4aeba9c7cd4.tar.gz
freebsd-ports-gnome-64a4455ca5f015d4f8becc7e20aab4aeba9c7cd4.tar.zst
freebsd-ports-gnome-64a4455ca5f015d4f8becc7e20aab4aeba9c7cd4.zip
Stagify.
Diffstat (limited to 'databases/jdbm2')
-rw-r--r--databases/jdbm2/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/databases/jdbm2/Makefile b/databases/jdbm2/Makefile
index d6bbf4788421..3c2e35355e7e 100644
--- a/databases/jdbm2/Makefile
+++ b/databases/jdbm2/Makefile
@@ -9,6 +9,10 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= ale@FreeBSD.org
COMMENT= A fast, simple, and transactional Java persistence engine
+LICENSE= APACHE20
+
+OPTIONS= DOCS EXAMPLES
+
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
@@ -22,17 +26,12 @@ PORTEXAMPLES= *
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
-NO_STAGE= yes
do-install:
@${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar \
- ${JAVAJARDIR}/${PORTNAME}.jar
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
-.endif
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
-.endif
+ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>