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

Add staging support

This commit is contained in:
Pawel Pekala 2014-06-01 13:26:35 +00:00
parent c7cff3985a
commit b1d06a5e25
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356119

View File

@ -17,11 +17,9 @@ NO_BUILD= yes
NO_WRKSUBDIR= yes
DOCSDIR= ${PREFIX}/share/doc/sather/${PORTNAME}
NO_STAGE= yes
do-install:
${MKDIR} ${DOCSDIR}
@${TAR} -xzf ${DISTDIR}/${DISTFILES} -C ${DOCSDIR}
@${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${TAR} -xzf ${DISTDIR}/${DISTFILES} -C ${STAGEDIR}${DOCSDIR}
@${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
.include <bsd.port.mk>