Support staging

This commit is contained in:
Emanuel Haupt 2014-03-18 13:54:41 +00:00
parent 8635f9cee7
commit c7017adc5a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348548
2 changed files with 3 additions and 8 deletions

View file

@ -18,16 +18,11 @@ NO_BUILD= yes
FONTSDIR= lib/X11/fonts/Khmer/
PLIST_SUB+= FONTSDIR=${FONTSDIR}
NO_STAGE= yes
post-patch:
${MV} "${WRKSRC}/KhmerOS .ttf" ${WRKSRC}/KhmerOS.ttf
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>

View file

@ -12,4 +12,4 @@ A collection of Khmer OS TrueType fonts. The package contains:
- KhmerOS Siemreap
- KhmerOS Sys
WWW: http://sourceforge.net/projects/khmer/
WWW: http://sourceforge.net/projects/khmer/