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

Support staging

This commit is contained in:
Emanuel Haupt 2014-03-18 13:35:58 +00:00
parent 266c36f97d
commit ce94d603ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348545

View File

@ -19,13 +19,8 @@ USES= zip
FONTSDIR= lib/X11/fonts/Myanmar
PLIST_SUB= FONTSDIR=${FONTSDIR}
NO_STAGE= yes
do-install:
${MKDIR} ${PREFIX}/${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/${FONTSDIR}
post-install:
@${ECHO_MSG} "==> Running fc-cache"
@-${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}
.include <bsd.port.mk>