x11-fonts/profont: Use vtfontcvt-ng and drop vtfontcvt(1) workarounds

This commit is contained in:
Tobias Kortkamp 2019-01-24 09:10:14 +00:00
parent 9d8de19218
commit ff470bbbc5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491083

View File

@ -3,7 +3,7 @@
PORTNAME= profont
PORTVERSION= 400
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= x11-fonts
MASTER_SITES= LOCAL/tobik \
http://tobiasjung.name/downloadfile.php?file=profont-x11.zip?dummy/
@ -31,7 +31,8 @@ TYPE_DESC= Font type
VT_DESC= Install vt(4) fonts
X11_DESC= Install Xorg bitmap fonts
VT_BUILD_DEPENDS= pcf2bdf:x11-fonts/pcf2bdf
VT_BUILD_DEPENDS= pcf2bdf:x11-fonts/pcf2bdf \
vtfontcvt-ng:x11-fonts/vtfontcvt-ng
X11_USES= fonts
X11_USES_OFF= fonts:none
@ -43,8 +44,7 @@ do-build-VT-on:
.for h in 10 11 12 15 17 22 29
pcf2bdf -o ${WRKSRC}/ProFont_r400-${h}.bdf \
${WRKSRC}/ProFont_r400-${h}.pcf
vtfontcvt -h ${h} -w $$(${AWK} '$$1 == "FONTBOUNDINGBOX" { print $$2 }' ${WRKSRC}/ProFont_r400-${h}.bdf) \
${WRKSRC}/ProFont_r400-${h}.bdf \
vtfontcvt-ng ${WRKSRC}/ProFont_r400-${h}.bdf \
${WRKSRC}/ProFont_r400-${h}.fnt
.endfor