aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/hack-font
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2016-08-06 20:43:50 +0800
committerrakuco <rakuco@FreeBSD.org>2016-08-06 20:43:50 +0800
commit41acd3896991ff37239bfb4cfab702b8780de92c (patch)
tree1c8d9d78f277e3d8b0c5fa036d0f8539cc9d67db /x11-fonts/hack-font
parentff597f9dd6b326d349cbfe752388fccd1b1cc236 (diff)
downloadfreebsd-ports-gnome-41acd3896991ff37239bfb4cfab702b8780de92c.tar.gz
freebsd-ports-gnome-41acd3896991ff37239bfb4cfab702b8780de92c.tar.zst
freebsd-ports-gnome-41acd3896991ff37239bfb4cfab702b8780de92c.zip
New port: x11-fonts/hack-font.
Hack is monospaced font designed to be a workhorse typeface for code. It has deep roots in the libre, open source typeface community and expands upon the contributions of the Bitstream Vera & DejaVu projects. The project is in active development. We welcome your input and contributions. WWW: https://sourcefoundry.org/hack/
Diffstat (limited to 'x11-fonts/hack-font')
-rw-r--r--x11-fonts/hack-font/Makefile32
-rw-r--r--x11-fonts/hack-font/distinfo3
-rw-r--r--x11-fonts/hack-font/pkg-descr6
-rw-r--r--x11-fonts/hack-font/pkg-plist4
4 files changed, 45 insertions, 0 deletions
diff --git a/x11-fonts/hack-font/Makefile b/x11-fonts/hack-font/Makefile
new file mode 100644
index 000000000000..97ed2b291975
--- /dev/null
+++ b/x11-fonts/hack-font/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= hack-font
+PORTVERSION= 2.020
+DISTVERSIONPREFIX= v
+CATEGORIES= x11-fonts
+
+MAINTAINER= rakuco@FreeBSD.org
+COMMENT= Typeface designed for source code
+
+LICENSE= BITSTREAM HACK2
+LICENSE_COMB= multi
+LICENSE_NAME_BITSTREAM= Bitstream Vera License
+LICENSE_NAME_HACK2= Hack Open Font License v2.0
+LICENSE_FILE_BITSTREAM= ${WRKSRC}/LICENSE.md
+LICENSE_FILE_HACK2= ${WRKSRC}/LICENSE.md
+LICENSE_PERMS_BITSTREAM=auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
+LICENSE_PERMS_HACK2= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
+
+USE_GITHUB= yes
+GH_ACCOUNT= chrissimpkins
+GH_PROJECT= Hack
+
+USES= fonts
+NO_ARCH= yes
+NO_BUILD= yes
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${WRKSRC}/build/otf/*.otf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/hack-font/distinfo b/x11-fonts/hack-font/distinfo
new file mode 100644
index 000000000000..02287c58853d
--- /dev/null
+++ b/x11-fonts/hack-font/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1470487103
+SHA256 (chrissimpkins-Hack-v2.020_GH0.tar.gz) = 60c75b9a1e68fd8e450d56eadb66b963d2a0f1907fc2f0e9c9bfe6c00793ebfd
+SIZE (chrissimpkins-Hack-v2.020_GH0.tar.gz) = 25668572
diff --git a/x11-fonts/hack-font/pkg-descr b/x11-fonts/hack-font/pkg-descr
new file mode 100644
index 000000000000..8e6b3f8ceb91
--- /dev/null
+++ b/x11-fonts/hack-font/pkg-descr
@@ -0,0 +1,6 @@
+Hack is monospaced font designed to be a workhorse typeface for code. It has
+deep roots in the libre, open source typeface community and expands upon the
+contributions of the Bitstream Vera & DejaVu projects. The project is in active
+development. We welcome your input and contributions.
+
+WWW: https://sourcefoundry.org/hack/
diff --git a/x11-fonts/hack-font/pkg-plist b/x11-fonts/hack-font/pkg-plist
new file mode 100644
index 000000000000..b0b9aab03548
--- /dev/null
+++ b/x11-fonts/hack-font/pkg-plist
@@ -0,0 +1,4 @@
+%%FONTSDIR%%/Hack-Bold.otf
+%%FONTSDIR%%/Hack-BoldItalic.otf
+%%FONTSDIR%%/Hack-Italic.otf
+%%FONTSDIR%%/Hack-Regular.otf