mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Support staging
This commit is contained in:
parent
9d1b7e5210
commit
f3dd8f1114
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348559
@ -22,15 +22,9 @@ SUB_FILES= pkg-message
|
||||
SUB_LIST= FONTSDIR=${FONTSDIR}
|
||||
WRKSRC= ${WRKDIR}/Fonts
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.TTF ${FONTSDIR}
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG} "===> Running fc-cache"
|
||||
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.TTF ${STAGEDIR}${FONTSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user