mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Support staging
This commit is contained in:
parent
89a8b0bd9f
commit
3b55b2d6d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348564
@ -22,16 +22,8 @@ PLIST_SUB= FONTSDIR=${FONTSDIR:S|^${PREFIX}/||}
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= FONTSDIR=${FONTSDIR}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/*.ttf ${FONTSDIR}
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG} "===> Running fc-cache"
|
||||
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/*.ttf ${STAGEDIR}${FONTSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user