mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
Stagify.
This commit is contained in:
parent
7800f5838b
commit
f285ea8d7b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356745
@ -36,22 +36,21 @@ PORTDOCS= LICENSE.txt NOTICE.txt api
|
||||
ALL_TARGET+= javadoc
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
|
||||
@${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION}.jar \
|
||||
${JAVAJARDIR}/${PORTNAME}.jar
|
||||
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
||||
|
||||
@${ECHO_MSG} " [DONE]"
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${ECHO_MSG} -n ">> Installing documentation..."
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@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
|
||||
@${INSTALL_DATA} ${WRKSRC}/LICENSE.txt \
|
||||
${DOCSDIR}/
|
||||
${STAGEDIR}${DOCSDIR}/
|
||||
@${INSTALL_DATA} ${WRKSRC}/NOTICE.txt \
|
||||
${DOCSDIR}/
|
||||
${STAGEDIR}${DOCSDIR}/
|
||||
@${ECHO_MSG} " [DONE]"
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user