From owner-svn-ports-head@freebsd.org Sun Dec 2 10:11:00 2018 Return-Path: Delivered-To: svn-ports-head@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 6A17313180A7; Sun, 2 Dec 2018 10:11:00 +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 0E9148D378; Sun, 2 Dec 2018 10:11:00 +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 E4AAF2531C; Sun, 2 Dec 2018 10:10:59 +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 wB2AAxq5007618; Sun, 2 Dec 2018 10:10:59 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB2AAwsa007609; Sun, 2 Dec 2018 10:10:58 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201812021010.wB2AAwsa007609@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:10:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486403 - in head/x11-fonts: . tamsyn tamsyn/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/x11-fonts: . tamsyn tamsyn/files X-SVN-Commit-Revision: 486403 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0E9148D378 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_MEDIUM(0.03)[0.029,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_SPAM_SHORT(0.44)[0.442,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2018 10:11:00 -0000 Author: tobik Date: Sun Dec 2 10:10:58 2018 New Revision: 486403 URL: https://svnweb.freebsd.org/changeset/ports/486403 Log: New port: x11-fonts/tamsyn Tamsyn is a monospaced bitmap font for programming available in regular and bold styles in sizes 5x9, 6x12, 7x13, 7x14, 8x15, 8x16, and 10x20 for both Xorg and vt(4). WWW: http://www.fial.com/~scott/tamsyn-font/ Added: head/x11-fonts/tamsyn/ head/x11-fonts/tamsyn/Makefile (contents, props changed) head/x11-fonts/tamsyn/distinfo (contents, props changed) head/x11-fonts/tamsyn/files/ head/x11-fonts/tamsyn/files/fonts.alias (contents, props changed) head/x11-fonts/tamsyn/files/paste-char.awk (contents, props changed) head/x11-fonts/tamsyn/pkg-descr (contents, props changed) head/x11-fonts/tamsyn/pkg-plist (contents, props changed) Modified: head/x11-fonts/Makefile Modified: head/x11-fonts/Makefile ============================================================================== --- head/x11-fonts/Makefile Sun Dec 2 10:05:59 2018 (r486402) +++ head/x11-fonts/Makefile Sun Dec 2 10:10:58 2018 (r486403) @@ -183,6 +183,7 @@ SUBDIR += stix-fonts SUBDIR += suxus SUBDIR += symbola + SUBDIR += tamsyn SUBDIR += terminus-font SUBDIR += terminus-ttf SUBDIR += tkfont Added: head/x11-fonts/tamsyn/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/tamsyn/Makefile Sun Dec 2 10:10:58 2018 (r486403) @@ -0,0 +1,83 @@ +# $FreeBSD$ + +PORTNAME= tamsyn-font +DISTVERSION= 1.11 +CATEGORIES= x11-fonts +MASTER_SITES= http://www.fial.com/~scott/tamsyn-font/download/ + +MAINTAINER= tobik@FreeBSD.org +COMMENT= Monospaced bitmap font for programming + +LICENSE= TAMSYN +LICENSE_NAME= Tamsyn License +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +NO_ARCH= yes + +OPTIONS_DEFINE= DOCS +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 +VT_CHARFIX_7x14= 168 # U+00A8 (DIAERESIS) +VT_CHARFIX_8x15= 180 # U+00B4 (ACUTE ACCENT) +VT_CHARFIX_8x16= 180 + +X11_USES= fonts +X11_USES_OFF= fonts:none + +do-build: + @${DO_NADA} + +do-build-VT-on: +.for sz in 5x9 6x12 7x13 7x14 8x15 8x16 10x20 + pcf2bdf -o ${WRKSRC}/Tamsyn${sz}r.bdf ${WRKSRC}/Tamsyn${sz}r.pcf + pcf2bdf -o ${WRKSRC}/Tamsyn${sz}b.bdf ${WRKSRC}/Tamsyn${sz}b.pcf +.endfor +.for sz in 5x9 6x12 7x13 7x14 8x15 8x16 10x20 +.if !empty(VT_CHARFIX_${sz}) +# Fix fonts that are missing some characters in the regular fonts +# that are available in the bold fonts, which vtfontcvt does not +# like. + ${MV} ${WRKSRC}/Tamsyn${sz}r.bdf \ + ${WRKSRC}/Tamsyn${sz}r.bdf.orig + ${AWK} -f ${FILESDIR}/paste-char.awk \ + -v copy=${VT_CHARFIX_${sz}} \ + ${WRKSRC}/Tamsyn${sz}b.bdf \ + ${WRKSRC}/Tamsyn${sz}r.bdf.orig \ + > ${WRKSRC}/Tamsyn${sz}r.bdf +.endif + vtfontcvt ${sz:S/^/-w /:S/x/ -h /} \ + ${WRKSRC}/Tamsyn${sz}r.bdf \ + ${WRKSRC}/Tamsyn${sz}b.bdf \ + ${WRKSRC}/Tamsyn${sz}.fnt +.endfor + +do-build-X11-on: + ${GZIP_CMD} ${WRKSRC}/*.pcf + +do-install: + @${MKDIR} ${STAGEDIR}${FONTSDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +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/tamsyn/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/tamsyn/distinfo Sun Dec 2 10:10:58 2018 (r486403) @@ -0,0 +1,3 @@ +TIMESTAMP = 1543700249 +SHA256 (tamsyn-font-1.11.tar.gz) = 97be1b604441b725548c454a92603993eb96e493f508845638a86c8d64fbf24e +SIZE (tamsyn-font-1.11.tar.gz) = 58384 Added: head/x11-fonts/tamsyn/files/fonts.alias ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/tamsyn/files/fonts.alias Sun Dec 2 10:10:58 2018 (r486403) @@ -0,0 +1,14 @@ +tamsyn-5x9 "-Misc-Tamsyn-Medium-R-Normal--9-65-100-100-C-50-ISO8859-1" +tamsyn-bold-5x9 "-Misc-Tamsyn-Bold-R-Normal--9-65-100-100-C-50-ISO8859-1" +tamsyn-6x12 "-Misc-Tamsyn-Medium-R-Normal--12-87-100-100-C-60-ISO8859-1" +tamsyn-bold-6x12 "-Misc-Tamsyn-Bold-R-Normal--12-87-100-100-C-60-ISO8859-1" +tamsyn-7x13 "-Misc-Tamsyn-Medium-R-Normal--13-94-100-100-C-70-ISO8859-1" +tamsyn-bold-7x13 "-Misc-Tamsyn-Bold-R-Normal--13-94-100-100-C-70-ISO8859-1" +tamsyn-7x14 "-Misc-Tamsyn-Medium-R-Normal--14-101-100-100-C-70-ISO8859-1" +tamsyn-bold-7x14 "-Misc-Tamsyn-Bold-R-Normal--14-101-100-100-C-70-ISO8859-1" +tamsyn-8x15 "-Misc-Tamsyn-Medium-R-Normal--15-108-100-100-C-80-ISO8859-1" +tamsyn-bold-8x15 "-Misc-Tamsyn-Bold-R-Normal--15-108-100-100-C-80-ISO8859-1" +tamsyn-8x16 "-Misc-Tamsyn-Medium-R-Normal--16-116-100-100-C-80-ISO8859-1" +tamsyn-bold-8x16 "-Misc-Tamsyn-Bold-R-Normal--16-116-100-100-C-80-ISO8859-1" +tamsyn-10x20 "-Misc-Tamsyn-Medium-R-Normal--20-145-100-100-C-100-ISO8859-1" +tamsyn-bold-10x20 "-Misc-Tamsyn-Bold-R-Normal--20-145-100-100-C-100-ISO8859-1" Added: head/x11-fonts/tamsyn/files/paste-char.awk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/tamsyn/files/paste-char.awk Sun Dec 2 10:10:58 2018 (r486403) @@ -0,0 +1,47 @@ +BEGIN { + char = copy + found = 0 + lineslen = 1 + paste = 0 + prevchar = -1 +} + +paste { + if ($1 == "CHARS") { + printf "CHARS %s\n", $2 + 1 + } else { + print + } +} + + +/^STARTCHAR/, /^ENDCHAR/ { + if (!paste) { + lines[lineslen++] = $0 + } +} + +$1 == "ENCODING" { + if ($2 == char) { + found = 1 + char = prevchar + } + prevchar = $2 +} + +$1 == "ENDCHAR" { + if (paste && found) { + print "" + for (i = 1; i < lineslen; i++) { + print lines[i] + } + found = 0 + } else if (found) { + paste = 1 + found = 0 + nextfile + } else if (!paste) { + lineslen = 1 + found = 0 + } +} Added: head/x11-fonts/tamsyn/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/tamsyn/pkg-descr Sun Dec 2 10:10:58 2018 (r486403) @@ -0,0 +1,5 @@ +Tamsyn is a monospaced bitmap font for programming available in +regular and bold styles in sizes 5x9, 6x12, 7x13, 7x14, 8x15, 8x16, +and 10x20 for both Xorg and vt(4). + +WWW: http://www.fial.com/~scott/tamsyn-font/ Added: head/x11-fonts/tamsyn/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/tamsyn/pkg-plist Sun Dec 2 10:10:58 2018 (r486403) @@ -0,0 +1,23 @@ +%%PORTDOCS%%%%DOCSDIR%%/README +%%VT%%%%FONTSDIR%%/Tamsyn10x20.fnt +%%X11%%%%FONTSDIR%%/Tamsyn10x20b.pcf.gz +%%X11%%%%FONTSDIR%%/Tamsyn10x20r.pcf.gz +%%VT%%%%FONTSDIR%%/Tamsyn5x9.fnt +%%X11%%%%FONTSDIR%%/Tamsyn5x9b.pcf.gz +%%X11%%%%FONTSDIR%%/Tamsyn5x9r.pcf.gz +%%VT%%%%FONTSDIR%%/Tamsyn6x12.fnt +%%X11%%%%FONTSDIR%%/Tamsyn6x12b.pcf.gz +%%X11%%%%FONTSDIR%%/Tamsyn6x12r.pcf.gz +%%VT%%%%FONTSDIR%%/Tamsyn7x13.fnt +%%X11%%%%FONTSDIR%%/Tamsyn7x13b.pcf.gz +%%X11%%%%FONTSDIR%%/Tamsyn7x13r.pcf.gz +%%VT%%%%FONTSDIR%%/Tamsyn7x14.fnt +%%X11%%%%FONTSDIR%%/Tamsyn7x14b.pcf.gz +%%X11%%%%FONTSDIR%%/Tamsyn7x14r.pcf.gz +%%VT%%%%FONTSDIR%%/Tamsyn8x15.fnt +%%X11%%%%FONTSDIR%%/Tamsyn8x15b.pcf.gz +%%X11%%%%FONTSDIR%%/Tamsyn8x15r.pcf.gz +%%VT%%%%FONTSDIR%%/Tamsyn8x16.fnt +%%X11%%%%FONTSDIR%%/Tamsyn8x16b.pcf.gz +%%X11%%%%FONTSDIR%%/Tamsyn8x16r.pcf.gz +%%X11%%%%FONTSDIR%%/fonts.alias