1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
This commit is contained in:
Alex Dupre 2014-05-12 12:46:19 +00:00
parent 76fb696af5
commit 4c60089007
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353813

View File

@ -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>