mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Stage support
This commit is contained in:
parent
ceb30e57ef
commit
ecba71fb96
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344811
1 changed files with 4 additions and 12 deletions
|
@ -15,22 +15,14 @@ USE_JAVA= yes
|
||||||
JAVA_VERSION= 1.6+
|
JAVA_VERSION= 1.6+
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
PORTDOCS= javadocs AUTHORS ChangeLog LICENSE.txt README-license.txt README.txt
|
PORTDOCS= javadocs AUTHORS ChangeLog LICENSE.txt README-license.txt README.txt
|
||||||
.endif
|
|
||||||
JARFILE= trove.jar
|
JARFILE= trove.jar
|
||||||
PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE}
|
PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE}
|
||||||
|
|
||||||
NO_STAGE= yes
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
|
${INSTALL_DATA} ${WRKSRC}/lib/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/lib/${JARFILE} ${JAVAJARDIR}/
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
|
||||||
@${ECHO_MSG} " [ DONE ]"
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
|
||||||
@cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
|
|
||||||
@cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
||||||
@${ECHO_MSG} " [ DONE ]"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue