Add a port for the Go fonts.

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.

ok jturner@ on an earlier version, feedback and ok juanfra@
This commit is contained in:
jsg 2017-02-27 02:28:00 +00:00
parent df26d0ed5b
commit 20189efe4d
4 changed files with 55 additions and 0 deletions

29
fonts/go-fonts/Makefile Normal file
View File

@ -0,0 +1,29 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/02/27 02:28:00 jsg Exp $
COMMENT= Go TrueType fonts
GH_ACCOUNT= golang
GH_PROJECT= image
GH_COMMIT= c8ae36c95e9b791117fe12e441bb0047b52eaa24
DISTNAME= go-image-20170224
PKGNAME= ${DISTNAME:S/image/fonts/}
HOMEPAGE= https://blog.golang.org/go-fonts
CATEGORIES= fonts x11
# BSD
PERMIT_PACKAGE_CDROM= Yes
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
FONTDIR= ${PREFIX}/share/fonts/go
DOCDIR= ${PREFIX}/share/doc/go-fonts
do-install:
${INSTALL_DATA_DIR} ${FONTDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKDIST}/font/gofont/ttfs/*.ttf ${FONTDIR}
${INSTALL_DATA} ${WRKDIST}/font/gofont/ttfs/README ${DOCDIR}
.include <bsd.port.mk>

2
fonts/go-fonts/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (go-image-20170224.tar.gz) = YgtG2N8YaQuu73B4GacNjnUjRmK/Wnxu/hpntNaekJ4=
SIZE (go-image-20170224.tar.gz) = 4376540

9
fonts/go-fonts/pkg/DESCR Normal file
View File

@ -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.

15
fonts/go-fonts/pkg/PLIST Normal file
View File

@ -0,0 +1,15 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/02/27 02:28:00 jsg Exp $
share/doc/go-fonts/
share/doc/go-fonts/README
share/fonts/
@fontdir share/fonts/go/
share/fonts/go/Go-Bold-Italic.ttf
share/fonts/go/Go-Bold.ttf
share/fonts/go/Go-Italic.ttf
share/fonts/go/Go-Medium-Italic.ttf
share/fonts/go/Go-Medium.ttf
share/fonts/go/Go-Mono-Bold-Italic.ttf
share/fonts/go/Go-Mono-Bold.ttf
share/fonts/go/Go-Mono-Italic.ttf
share/fonts/go/Go-Mono.ttf
share/fonts/go/Go-Regular.ttf