1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
This commit is contained in:
Alex Dupre 2014-05-12 16:02:34 +00:00
parent 7c49ec092e
commit b9a330aa43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353853

View File

@ -11,34 +11,33 @@ MAINTAINER= ale@FreeBSD.org
COMMENT= A Java toolkit for reliable multicast communication
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= DOCS
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
ALL_TARGET= jar
.if !defined(NOPORTDOCS)
ALL_TARGET+= javadoc
.endif
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDATA= *
PORTDOCS= *
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
ALL_TARGET+= javadoc
.endif
NO_STAGE= yes
do-install:
${INSTALL_DATA} ${WRKSRC}/dist/${DISTNAME}.Final.jar \
${JAVAJARDIR}/${PORTNAME}.jar
.if !defined(NOPORTDATA)
@${MKDIR} ${DATADIR}
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${MKDIR} ${STAGEDIR}${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}-sources.jar \
${DATADIR}/
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/dist/README ${DOCSDIR}/
@(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} javadoc ${DOCSDIR})
.endif
${STAGEDIR}${DATADIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/dist/README ${STAGEDIR}${DOCSDIR}/
@(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} javadoc ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>