Date: Sun, 2 Dec 2018 10:19:14 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486404 - in head/x11-fonts/profont: . files Message-ID: <201812021019.wB2AJEH1012864@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sun Dec 2 10:19:13 2018 New Revision: 486404 URL: https://svnweb.freebsd.org/changeset/ports/486404 Log: x11-fonts/profont: Add vt(4) fonts - Take maintainership - Mirror distfile locally; the upstream site seems to have some problems - Add font aliases Added: head/x11-fonts/profont/files/ head/x11-fonts/profont/files/fonts.alias (contents, props changed) Modified: head/x11-fonts/profont/Makefile head/x11-fonts/profont/pkg-plist Modified: head/x11-fonts/profont/Makefile ============================================================================== --- head/x11-fonts/profont/Makefile Sun Dec 2 10:10:58 2018 (r486403) +++ head/x11-fonts/profont/Makefile Sun Dec 2 10:19:13 2018 (r486404) @@ -3,25 +3,62 @@ PORTNAME= profont PORTVERSION= 400 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-fonts -MASTER_SITES= http://tobiasjung.name/downloadfile.php?file=profont-x11.zip?dummy/ +MASTER_SITES= LOCAL/tobik \ + http://tobiasjung.name/downloadfile.php?file=profont-x11.zip?dummy/ DISTNAME= ${PORTNAME}-x11 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tobik@FreeBSD.org COMMENT= Ultimate programming font LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= fonts zip +USES= zip + NO_ARCH= yes +OPTIONS_DEFAULT= VT X11 +OPTIONS_MULTI= TYPE +OPTIONS_MULTI_TYPE= VT X11 +.if !exists(/usr/bin/vtfontcvt) +OPTIONS_EXCLUDE= VT +.endif +OPTIONS_SUB= yes + +TYPE_DESC= Font type +VT_DESC= Install vt(4) fonts +X11_DESC= Install Xorg bitmap fonts + +VT_BUILD_DEPENDS= pcf2bdf:x11-fonts/pcf2bdf + +X11_USES= fonts +X11_USES_OFF= fonts:none + do-build: + @${DO_NADA} + +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 \ + ${WRKSRC}/ProFont_r400-${h}.fnt +.endfor + +do-build-X11-on: ${GZIP_CMD} ${WRKSRC}/*.pcf do-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} - ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${STAGEDIR}${FONTSDIR} + +do-install-VT-on: + ${INSTALL_DATA} ${WRKSRC}/*.fnt ${STAGEDIR}${FONTSDIR} + +do-install-X11-on: + ${INSTALL_DATA} ${FILESDIR}/fonts.alias ${WRKSRC}/*.pcf.gz \ + ${STAGEDIR}${FONTSDIR} .include <bsd.port.mk> Added: head/x11-fonts/profont/files/fonts.alias ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/profont/files/fonts.alias Sun Dec 2 10:19:13 2018 (r486404) @@ -0,0 +1,7 @@ +profont-10 "-nil-ProFont-medium-r-normal--10-100-72-72-c-50-iso8859-1" +profont-11 "-nil-ProFont-medium-r-normal--11-110-72-72-c-60-iso8859-1" +profont-12 "-nil-ProFont-medium-r-normal--12-120-72-72-c-60-iso8859-1" +profont-15 "-nil-ProFont-medium-r-normal--15-150-72-72-c-70-iso8859-1" +profont-17 "-nil-ProFont-medium-r-normal--17-170-72-72-c-140-iso8859-1" +profont-22 "-nil-ProFont-medium-r-normal--22-220-72-72-c-120-iso8859-1" +profont-29 "-nil-ProFont-medium-r-normal--29-290-72-72-c-160-iso8859-1" Modified: head/x11-fonts/profont/pkg-plist ============================================================================== --- head/x11-fonts/profont/pkg-plist Sun Dec 2 10:10:58 2018 (r486403) +++ head/x11-fonts/profont/pkg-plist Sun Dec 2 10:19:13 2018 (r486404) @@ -1,7 +1,15 @@ -%%FONTSDIR%%/ProFont_r400-10.pcf.gz -%%FONTSDIR%%/ProFont_r400-11.pcf.gz -%%FONTSDIR%%/ProFont_r400-12.pcf.gz -%%FONTSDIR%%/ProFont_r400-15.pcf.gz -%%FONTSDIR%%/ProFont_r400-17.pcf.gz -%%FONTSDIR%%/ProFont_r400-22.pcf.gz -%%FONTSDIR%%/ProFont_r400-29.pcf.gz +%%VT%%%%FONTSDIR%%/ProFont_r400-10.fnt +%%X11%%%%FONTSDIR%%/ProFont_r400-10.pcf.gz +%%VT%%%%FONTSDIR%%/ProFont_r400-11.fnt +%%X11%%%%FONTSDIR%%/ProFont_r400-11.pcf.gz +%%VT%%%%FONTSDIR%%/ProFont_r400-12.fnt +%%X11%%%%FONTSDIR%%/ProFont_r400-12.pcf.gz +%%VT%%%%FONTSDIR%%/ProFont_r400-15.fnt +%%X11%%%%FONTSDIR%%/ProFont_r400-15.pcf.gz +%%VT%%%%FONTSDIR%%/ProFont_r400-17.fnt +%%X11%%%%FONTSDIR%%/ProFont_r400-17.pcf.gz +%%VT%%%%FONTSDIR%%/ProFont_r400-22.fnt +%%X11%%%%FONTSDIR%%/ProFont_r400-22.pcf.gz +%%VT%%%%FONTSDIR%%/ProFont_r400-29.fnt +%%X11%%%%FONTSDIR%%/ProFont_r400-29.pcf.gz +%%X11%%%%FONTSDIR%%/fonts.alias
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812021019.wB2AJEH1012864>