Support staging
This commit is contained in:
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
|
@ -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>
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue