mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stage support
PR: 190173 Submitted by
This commit is contained in:
parent
b96a27d66f
commit
c12269b439
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356460
@ -44,7 +44,6 @@ SUB_FILES= pkg-message
|
||||
|
||||
FONTS_FILE= ${WRKDIR}/fonts.dir
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_MSWINDOWS_LICENSE)
|
||||
@ -85,21 +84,11 @@ PLIST_SUB+= EXTRAFONTS="@comment "
|
||||
# Install
|
||||
#
|
||||
do-install:
|
||||
${MKDIR} ${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
|
||||
${INSTALL_DATA} ${FONTS_FILE} ${FONTSDIR}
|
||||
${INSTALL_DATA} ${FONTS_FILE} ${FONTSDIR}/fonts.scale
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/licen.txt ${DOCSDIR}/LICENSE
|
||||
|
||||
#
|
||||
# Post-install
|
||||
#
|
||||
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} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
|
||||
${INSTALL_DATA} ${FONTS_FILE} ${STAGEDIR}${FONTSDIR}
|
||||
${INSTALL_DATA} ${FONTS_FILE} ${STAGEDIR}${FONTSDIR}/fonts.scale
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/licen.txt ${STAGEDIR}${DOCSDIR}/LICENSE
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user