mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Unbreak
This commit is contained in:
parent
2d54bd0e75
commit
d633be89be
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347517
@ -15,7 +15,7 @@ BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
|
||||
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
||||
fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
||||
|
||||
USE_ZIP= yes
|
||||
USES= zip
|
||||
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
||||
FONTNAME= ${PORTNAME}
|
||||
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
|
||||
@ -25,16 +25,14 @@ MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
|
||||
FCCACHE_CMD= ${LOCALBASE}/bin/fc-cache -f -v
|
||||
|
||||
post-extract:
|
||||
@${MKDIR} ${STAGEDIR}${WRKSRC}/
|
||||
@${MKDIR} ${WRKSRC}
|
||||
@${MV} ${WRKDIR}/CODE2001.TTF ${WRKSRC}/${FONTNAME}.ttf
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC}/ && ${MKFONTSCL_CMD} && ${MKFONTDIR_CMD}
|
||||
@cd ${WRKSRC} && ${MKFONTSCL_CMD} && ${MKFONTDIR_CMD}
|
||||
|
||||
do-install:
|
||||
@${INSTALL} -d ${STAGEDIR}${FONTSDIR}/
|
||||
@${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${FONTSDIR}/
|
||||
@${ECHO_MSG} "===> Running fc-cache"
|
||||
-${FCCACHE_CMD} ${STAGEDIR}${FONTSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${FONTSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user