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

- Stage support

PR:		190319
This commit is contained in:
Martin Wilke 2014-06-05 05:26:33 +00:00
parent 9b262218ec
commit c980fb2f11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356590

View File

@ -19,20 +19,15 @@ EXTRACT_AFTER_ARGS+= -d ${WRKSRC}
DOCFILES= ChangeLog.txt LICENSE.txt README.txt TODO.txt
NO_STAGE= yes
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCFILES}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
.endfor
.endif
@${RM} ${WRKSRC}/*.txt
${MKDIR} ${WWWDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}/)
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${CAT} ${PKGMESSAGE}
${MKDIR} ${STAGEDIR}${WWWDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/)
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>