mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Stagify, use @fcfontsdir.
This commit is contained in:
parent
eb1d4686d0
commit
048e7dd867
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360629
@ -16,19 +16,17 @@ COMMENT= The perfect monospaced bitmap programming fonts, TTF version
|
||||
LICENSE= MIT
|
||||
|
||||
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
||||
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
|
||||
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
|
||||
fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
||||
|
||||
USES= zip
|
||||
NO_WRKSUBDIR= yes
|
||||
INSTALLDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
@cd ${WRKSRC} && ${LOCALBASE}/bin/mkfontscale
|
||||
@cd ${WRKSRC} && ${LOCALBASE}/bin/mkfontdir
|
||||
FONTDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${INSTALLDIR}
|
||||
@cd ${WRKSRC} && ${INSTALL_DATA} fonts.dir fonts.scale *.ttf ${INSTALLDIR}
|
||||
@${MKDIR} ${STAGEDIR}${FONTDIR}
|
||||
@cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,13 +1,10 @@
|
||||
lib/X11/fonts/proggy_fonts-ttf/ProggyClean.ttf
|
||||
lib/X11/fonts/proggy_fonts-ttf/ProggyCleanCE.ttf
|
||||
lib/X11/fonts/proggy_fonts-ttf/ProggyCleanSZ.ttf
|
||||
lib/X11/fonts/proggy_fonts-ttf/ProggyCleanSZBP.ttf
|
||||
lib/X11/fonts/proggy_fonts-ttf/ProggySmall.ttf
|
||||
lib/X11/fonts/proggy_fonts-ttf/ProggySquare.ttf
|
||||
lib/X11/fonts/proggy_fonts-ttf/ProggySquareSZ.ttf
|
||||
lib/X11/fonts/proggy_fonts-ttf/ProggyTiny.ttf
|
||||
lib/X11/fonts/proggy_fonts-ttf/ProggyTinySZ.ttf
|
||||
lib/X11/fonts/proggy_fonts-ttf/fonts.dir
|
||||
lib/X11/fonts/proggy_fonts-ttf/fonts.scale
|
||||
@dirrm lib/X11/fonts/proggy_fonts-ttf
|
||||
@exec fc-cache -v %D/lib/X11/fonts/proggy_fonts-ttf 2>/dev/null || true
|
||||
%%FONTDIR%%/ProggyClean.ttf
|
||||
%%FONTDIR%%/ProggyCleanCE.ttf
|
||||
%%FONTDIR%%/ProggyCleanSZ.ttf
|
||||
%%FONTDIR%%/ProggyCleanSZBP.ttf
|
||||
%%FONTDIR%%/ProggySmall.ttf
|
||||
%%FONTDIR%%/ProggySquare.ttf
|
||||
%%FONTDIR%%/ProggySquareSZ.ttf
|
||||
%%FONTDIR%%/ProggyTiny.ttf
|
||||
%%FONTDIR%%/ProggyTinySZ.ttf
|
||||
@fcfontsdir %%FONTDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user