From owner-svn-ports-all@freebsd.org Sun Dec 2 10:19:15 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 338491318409; Sun, 2 Dec 2018 10:19:15 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA7248D660; Sun, 2 Dec 2018 10:19:14 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A8AD125497; Sun, 2 Dec 2018 10:19:14 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB2AJExr012869; Sun, 2 Dec 2018 10:19:14 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB2AJEH1012864; Sun, 2 Dec 2018 10:19:14 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201812021019.wB2AJEH1012864@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 2 Dec 2018 10:19:14 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/x11-fonts/profont: . files X-SVN-Commit-Revision: 486404 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: CA7248D660 X-Spamd-Result: default: False [0.52 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.05)[0.050,0]; NEURAL_SPAM_SHORT(0.44)[0.442,0]; NEURAL_SPAM_MEDIUM(0.03)[0.029,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2018 10:19:15 -0000 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 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