1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-03-13 05:21:08 +00:00
parent 20ce4c4f6f
commit 53634789f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348031

View File

@ -24,25 +24,20 @@ JARFILES= xercesImpl.jar xml-apis.jar
PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
NO_STAGE= yes
do-install:
@${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
.for JARFILE in ${JARFILES}
@cd ${WRKSRC} && ${INSTALL_DATA} ${JARFILE} ${JAVAJARDIR}/${JARFILE}
@cd ${WRKSRC} && ${INSTALL_DATA} ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${JARFILE}
@${ECHO_MSG} -n " ${JARFILE}"
.endfor
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${DOCSDIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
@${ECHO_MSG} " [ DONE ]"
.endif
.if !defined(NOPORTEXAMPLES)
@${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..."
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data samples" ${EXAMPLESDIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data samples" ${STAGEDIR}${EXAMPLESDIR})
@${ECHO_MSG} " [ DONE ]"
.endif
.include <bsd.port.mk>