1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-03-18 14:55:42 +00:00
parent 89a8b0bd9f
commit 3b55b2d6d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348564

View File

@ -22,16 +22,8 @@ PLIST_SUB= FONTSDIR=${FONTSDIR:S|^${PREFIX}/||}
SUB_FILES= pkg-message
SUB_LIST= FONTSDIR=${FONTSDIR}
NO_STAGE= yes
do-install:
${MKDIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKDIR}/*.ttf ${FONTSDIR}
post-install:
@${ECHO_MSG} "===> Running fc-cache"
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKDIR}/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>