Date: Fri, 21 Sep 2018 11:42:26 +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: r480260 - in head/x11-fonts: . spleen Message-ID: <201809211142.w8LBgQSS001358@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Fri Sep 21 11:42:26 2018 New Revision: 480260 URL: https://svnweb.freebsd.org/changeset/ports/480260 Log: New port: x11-fonts/spleen Spleen is a monospaced bitmap font for consoles and terminals. It is available in 5 sizes: 5x8, 8x16, 12x24, 16x32, and 32x64. The font is provided in PCF format for use in Xorg and as vt(4) console fonts. WWW: https://github.com/fcambus/spleen Added: head/x11-fonts/spleen/ head/x11-fonts/spleen/Makefile (contents, props changed) head/x11-fonts/spleen/distinfo (contents, props changed) head/x11-fonts/spleen/pkg-descr (contents, props changed) head/x11-fonts/spleen/pkg-plist (contents, props changed) Modified: head/x11-fonts/Makefile Modified: head/x11-fonts/Makefile ============================================================================== --- head/x11-fonts/Makefile Fri Sep 21 11:37:03 2018 (r480259) +++ head/x11-fonts/Makefile Fri Sep 21 11:42:26 2018 (r480260) @@ -177,6 +177,7 @@ SUBDIR += sourcecodepro-ttf SUBDIR += sourcesanspro-ttf SUBDIR += sourceserifpro-ttf + SUBDIR += spleen SUBDIR += stix-fonts SUBDIR += suxus SUBDIR += symbola Added: head/x11-fonts/spleen/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/spleen/Makefile Fri Sep 21 11:42:26 2018 (r480260) @@ -0,0 +1,54 @@ +# $FreeBSD$ + +PORTNAME= spleen +DISTVERSION= 1.0.0 +CATEGORIES= x11-fonts +MASTER_SITES= https://github.com/fcambus/spleen/releases/download/${DISTVERSION}/ +PKGNAMESUFFIX= -font + +MAINTAINER= tobik@FreeBSD.org +COMMENT= Monospaced bitmap fonts for Xorg and vt(4) + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +NO_ARCH= yes + +OPTIONS_DEFINE= DOCS X11 +OPTIONS_DEFAULT= X11 +OPTIONS_SUB= yes + +X11_BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf +X11_USES= fonts +X11_USES_OFF= fonts:none + +post-patch: + @${REINPLACE_CMD} -E 's/^FONT "(.*)"$$/FONT \1/g' ${WRKSRC}/*.bdf + +do-build: +# 32x64 appears to be too large for vtfontcvt: Unsupported wbytes 4! +.for sz in 5x8 8x16 12x24 16x32 + vtfontcvt ${sz:S/^/-w /:S/x/ -h /} \ + ${WRKSRC}/spleen-${sz}.bdf ${WRKSRC}/spleen-${sz}.fnt +.endfor + +do-build-X11-on: +.for sz in 5x8 8x16 12x24 16x32 32x64 + bdftopcf -t -o ${WRKSRC}/spleen-${sz}.pcf ${WRKSRC}/spleen-${sz}.bdf +.endfor + ${GZIP_CMD} ${WRKSRC}/*.pcf + +do-install: + @${MKDIR} ${STAGEDIR}${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.fnt ${STAGEDIR}${FONTSDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +do-install-X11-on: + ${INSTALL_DATA} ${WRKSRC}/fonts.alias-spleen \ + ${STAGEDIR}${FONTSDIR}/fonts.alias + ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${STAGEDIR}${FONTSDIR} + +.include <bsd.port.mk> Added: head/x11-fonts/spleen/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/spleen/distinfo Fri Sep 21 11:42:26 2018 (r480260) @@ -0,0 +1,3 @@ +TIMESTAMP = 1537396175 +SHA256 (spleen-1.0.0.tar.gz) = b4bf78e646f8b9c85f0ee870e6472506ccf5e144548e3f209ebb57faf90d6fa0 +SIZE (spleen-1.0.0.tar.gz) = 45088 Added: head/x11-fonts/spleen/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/spleen/pkg-descr Fri Sep 21 11:42:26 2018 (r480260) @@ -0,0 +1,7 @@ +Spleen is a monospaced bitmap font for consoles and terminals. +It is available in 5 sizes: 5x8, 8x16, 12x24, 16x32, and 32x64. + +The font is provided in PCF format for use in Xorg and as vt(4) +console fonts. + +WWW: https://github.com/fcambus/spleen Added: head/x11-fonts/spleen/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/spleen/pkg-plist Fri Sep 21 11:42:26 2018 (r480260) @@ -0,0 +1,11 @@ +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%X11%%%%FONTSDIR%%/fonts.alias +%%FONTSDIR%%/spleen-12x24.fnt +%%X11%%%%FONTSDIR%%/spleen-12x24.pcf.gz +%%FONTSDIR%%/spleen-16x32.fnt +%%X11%%%%FONTSDIR%%/spleen-16x32.pcf.gz +%%X11%%%%FONTSDIR%%/spleen-32x64.pcf.gz +%%FONTSDIR%%/spleen-5x8.fnt +%%X11%%%%FONTSDIR%%/spleen-5x8.pcf.gz +%%FONTSDIR%%/spleen-8x16.fnt +%%X11%%%%FONTSDIR%%/spleen-8x16.pcf.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809211142.w8LBgQSS001358>