mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
714ec2af11
commit
8f91628a8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348553
@ -21,14 +21,8 @@ FONTSDIR= ${PREFIX}/lib/X11/fonts/pingwi
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= FONTSDIR=${FONTSDIR}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${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}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user