summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'fonts')
-rw-r--r--fonts/go-ttf/DESCR9
-rw-r--r--fonts/go-ttf/Makefile31
-rw-r--r--fonts/go-ttf/PLIST11
-rw-r--r--fonts/go-ttf/distinfo6
4 files changed, 57 insertions, 0 deletions
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