Stagify.
This commit is contained in:
parent
4d480e3b9e
commit
ecbf1f618d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353844
@ -12,35 +12,41 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|||||||
MAINTAINER= ale@FreeBSD.org
|
MAINTAINER= ale@FreeBSD.org
|
||||||
COMMENT= The DBCP Component
|
COMMENT= The DBCP Component
|
||||||
|
|
||||||
|
LICENSE= APACHE20
|
||||||
|
|
||||||
BUILD_DEPENDS= ${JAVALIBDIR}/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool \
|
BUILD_DEPENDS= ${JAVALIBDIR}/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool \
|
||||||
${JAVALIBDIR}/jta.jar:${PORTSDIR}/java/jta
|
${JAVALIBDIR}/jta.jar:${PORTSDIR}/java/jta
|
||||||
RUN_DEPENDS= ${JAVALIBDIR}/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool \
|
RUN_DEPENDS= ${JAVALIBDIR}/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool \
|
||||||
${JAVALIBDIR}/jta.jar:${PORTSDIR}/java/jta
|
${JAVALIBDIR}/jta.jar:${PORTSDIR}/java/jta
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
USE_JAVA= yes
|
USE_JAVA= yes
|
||||||
JAVA_VERSION= 1.6+
|
JAVA_VERSION= 1.6+
|
||||||
|
|
||||||
USE_ANT= yes
|
USE_ANT= yes
|
||||||
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
|
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
|
||||||
ALL_TARGET= build-jar
|
ALL_TARGET= build-jar
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
ALL_TARGET+= javadoc
|
|
||||||
.endif
|
|
||||||
|
|
||||||
PORTDOCS= *
|
|
||||||
|
|
||||||
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
||||||
|
|
||||||
NO_STAGE= yes
|
PORTDOCS= *
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
|
ALL_TARGET+= javadoc
|
||||||
|
.endif
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${ECHO} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
|
@${ECHO} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
|
||||||
@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${JAVAJARDIR}/
|
@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/
|
||||||
@${ECHO} " [ DONE ]"
|
@${ECHO} " [ DONE ]"
|
||||||
.if !defined(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
|
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
|
||||||
@${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@cd ${WRKSRC}/dist/docs && ${FIND} api \
|
@cd ${WRKSRC}/dist/docs && ${FIND} api \
|
||||||
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
|
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
|
||||||
@${ECHO} " [ DONE ]"
|
@${ECHO} " [ DONE ]"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user