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-02-09 11:17:42 +00:00
parent 5a2660e859
commit 8bd739640d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343464

View File

@ -18,12 +18,11 @@ NO_BUILD= yes
FONTSDIR= share/fonts/${PORTNAME}
NO_STAGE= yes
do-install:
${MKDIR} ${PREFIX}/${FONTSDIR}
cd ${PREFIX}/${FONTSDIR} && ${TAR} -x -z -U --strip-components 1 -f \
${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}
cd ${STAGEDIR}${PREFIX}/${FONTSDIR} && ${TAR} -x -z -U --strip-components 1 -f \
${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${FONTSDIR}
${CHMOD} -R go-w ${PREFIX}/${FONTSDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${PREFIX}/${FONTSDIR}
${CHMOD} -R go-w ${STAGEDIR}${PREFIX}/${FONTSDIR}
.include <bsd.port.mk>