aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/gofont-ttf
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-05-11 16:03:44 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-05-11 16:03:44 +0000
commit963bbd3f4e61b9691f903d3900556fe3d90f02d7 (patch)
tree5906f110130d820e21ad08bf3e670fb8b861e2b9 /x11-fonts/gofont-ttf
parent350b03abdf5a3a6348a45a5031bd03d3f7574b1a (diff)
downloadports-963bbd3f4e61b9691f903d3900556fe3d90f02d7.tar.gz
ports-963bbd3f4e61b9691f903d3900556fe3d90f02d7.zip
New port: x11-fonts/gofont-ttf
The Go font family 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. WWW: https://blog.golang.org/go-fonts
Notes
Notes: svn path=/head/; revision=469647
Diffstat (limited to 'x11-fonts/gofont-ttf')
-rw-r--r--x11-fonts/gofont-ttf/Makefile26
-rw-r--r--x11-fonts/gofont-ttf/distinfo3
-rw-r--r--x11-fonts/gofont-ttf/pkg-descr8
-rw-r--r--x11-fonts/gofont-ttf/pkg-plist12
4 files changed, 49 insertions, 0 deletions
diff --git a/x11-fonts/gofont-ttf/Makefile b/x11-fonts/gofont-ttf/Makefile
new file mode 100644
index 000000000000..f8ec32e1bc7f
--- /dev/null
+++ b/x11-fonts/gofont-ttf/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= gofont-ttf
+DISTVERSION= g20180511
+CATEGORIES= x11-fonts
+
+MAINTAINER= tobik@FreeBSD.org
+COMMENT= Go font family
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/font/gofont/ttfs/README
+
+USES= fonts
+USE_GITHUB= yes
+GH_ACCOUNT= golang
+GH_PROJECT= image
+GH_TAGNAME= f315e440302883054d0c2bd85486878cb4f8572c
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/font/gofont/ttfs/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/gofont-ttf/distinfo b/x11-fonts/gofont-ttf/distinfo
new file mode 100644
index 000000000000..329a9c5f4a62
--- /dev/null
+++ b/x11-fonts/gofont-ttf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526053840
+SHA256 (golang-image-g20180511-f315e440302883054d0c2bd85486878cb4f8572c_GH0.tar.gz) = d769a0fe33e4a6a88d8a3507cd7ae653cd2f8a420faeb9ddfd9c970a3acf69a6
+SIZE (golang-image-g20180511-f315e440302883054d0c2bd85486878cb4f8572c_GH0.tar.gz) = 4817487
diff --git a/x11-fonts/gofont-ttf/pkg-descr b/x11-fonts/gofont-ttf/pkg-descr
new file mode 100644
index 000000000000..f1732d8edbbf
--- /dev/null
+++ b/x11-fonts/gofont-ttf/pkg-descr
@@ -0,0 +1,8 @@
+The Go font family 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.
+
+WWW: https://blog.golang.org/go-fonts
diff --git a/x11-fonts/gofont-ttf/pkg-plist b/x11-fonts/gofont-ttf/pkg-plist
new file mode 100644
index 000000000000..b290fc997feb
--- /dev/null
+++ b/x11-fonts/gofont-ttf/pkg-plist
@@ -0,0 +1,12 @@
+%%FONTSDIR%%/Go-Bold-Italic.ttf
+%%FONTSDIR%%/Go-Bold.ttf
+%%FONTSDIR%%/Go-Italic.ttf
+%%FONTSDIR%%/Go-Medium-Italic.ttf
+%%FONTSDIR%%/Go-Medium.ttf
+%%FONTSDIR%%/Go-Mono-Bold-Italic.ttf
+%%FONTSDIR%%/Go-Mono-Bold.ttf
+%%FONTSDIR%%/Go-Mono-Italic.ttf
+%%FONTSDIR%%/Go-Mono.ttf
+%%FONTSDIR%%/Go-Regular.ttf
+%%FONTSDIR%%/Go-Smallcaps-Italic.ttf
+%%FONTSDIR%%/Go-Smallcaps.ttf