mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Support staging
This commit is contained in:
parent
a25b679c74
commit
266c36f97d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348544
@ -13,18 +13,13 @@ COMMENT= The Lohit family of Indic fonts
|
||||
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
FONTSDIR= lib/X11/fonts/${PORTNAME}/
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user