From c09b2360a3dfa1e0e177474efda6814b2645dba6 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 20 Nov 2016 19:59:35 +0000 Subject: Import go-ttf-20161118 as fonts/go-ttf. A family of high-quality WGL4 TrueType fonts, created by the Bigelow & Holmes type foundry specifically for the Go project. The font family, called Go (naturally), includes proportional- and fixed-width faces in normal, bold, and italic renderings. The fonts have been tested for technical uses, particularly programming. Go source code looks particularly good when displayed in Go fonts, as its name implies, with things like punctuation characters easily distinguishable and operators lined up and placed consistently. --- fonts/go-ttf/DESCR | 9 +++++++++ fonts/go-ttf/Makefile | 31 +++++++++++++++++++++++++++++++ fonts/go-ttf/PLIST | 11 +++++++++++ fonts/go-ttf/distinfo | 6 ++++++ 4 files changed, 57 insertions(+) create mode 100644 fonts/go-ttf/DESCR create mode 100644 fonts/go-ttf/Makefile create mode 100644 fonts/go-ttf/PLIST create mode 100644 fonts/go-ttf/distinfo (limited to 'fonts') diff --git a/fonts/go-ttf/DESCR b/fonts/go-ttf/DESCR new file mode 100644 index 00000000000..0847ad539e1 --- /dev/null +++ b/fonts/go-ttf/DESCR @@ -0,0 +1,9 @@ +A family of high-quality WGL4 TrueType fonts, created by the Bigelow +& Holmes type foundry specifically for the Go project. + +The font family, called Go (naturally), includes proportional- and +fixed-width faces in normal, bold, and italic renderings. The fonts +have been tested for technical uses, particularly programming. Go +source code looks particularly good when displayed in Go fonts, as +its name implies, with things like punctuation characters easily +distinguishable and operators lined up and placed consistently. diff --git a/fonts/go-ttf/Makefile b/fonts/go-ttf/Makefile new file mode 100644 index 00000000000..d4b74ac9660 --- /dev/null +++ b/fonts/go-ttf/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 2016/11/20 19:59:35 wiz Exp $ + +DISTNAME= ttfs +PKGNAME= go-ttf-20161118 +CATEGORIES= fonts +MASTER_SITES= https://go.googlesource.com/image/+archive/${COMMIT_ID}/font/gofont/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://blog.golang.org/go-fonts +COMMENT= Family of high-quality WGL4 TrueType fonts created for the Go project +LICENSE= modified-bsd + +COMMIT_ID= d2f07f8aaaa906f1a64eee0e327fc681cdb2944f +DIST_SUBDIR= ${PKGNAME_NOREV} + +WRKSRC= ${WRKDIR} +USE_LANGUAGES= # none + +FONTDIR= ${PREFIX}/share/fonts/X11/TTF +FONTS_DIRS.ttf= ${FONTDIR} + +INSTALLATION_DIRS= ${FONTDIR} + +do-build: + +do-install: + cd ${WRKSRC} && for f in *.ttf ; do \ + ${INSTALL_DATA} $$f ${DESTDIR}${FONTDIR}/$$f; \ + done + +.include "../../mk/bsd.pkg.mk" diff --git a/fonts/go-ttf/PLIST b/fonts/go-ttf/PLIST new file mode 100644 index 00000000000..9b1574a29e6 --- /dev/null +++ b/fonts/go-ttf/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1 2016/11/20 19:59:35 wiz Exp $ +share/fonts/X11/TTF/Go-Bold-Italic.ttf +share/fonts/X11/TTF/Go-Bold.ttf +share/fonts/X11/TTF/Go-Italic.ttf +share/fonts/X11/TTF/Go-Medium-Italic.ttf +share/fonts/X11/TTF/Go-Medium.ttf +share/fonts/X11/TTF/Go-Mono-Bold-Italic.ttf +share/fonts/X11/TTF/Go-Mono-Bold.ttf +share/fonts/X11/TTF/Go-Mono-Italic.ttf +share/fonts/X11/TTF/Go-Mono.ttf +share/fonts/X11/TTF/Go-Regular.ttf diff --git a/fonts/go-ttf/distinfo b/fonts/go-ttf/distinfo new file mode 100644 index 00000000000..6602e56f0a0 --- /dev/null +++ b/fonts/go-ttf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/11/20 19:59:35 wiz Exp $ + +SHA1 (go-ttf-20161118/ttfs.tar.gz) = 80b00360a75dbe18b3140a353e60f94e56f0860d +RMD160 (go-ttf-20161118/ttfs.tar.gz) = 98d61ba353049c4afcc25f8b96538ba6f63ac529 +SHA512 (go-ttf-20161118/ttfs.tar.gz) = f78fe6c490b775e040f0bba2305052b239d3ee8dae987c0ad56633b0586fe9aecef200f0ee9295498abcc5ca0d37a8c7ce59d73b26d6ab7398a8abe93e363429 +Size (go-ttf-20161118/ttfs.tar.gz) = 704738 bytes -- cgit v1.2.3