aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
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
parentff597f9dd6b326d349cbfe752388fccd1b1cc236 (diff)
downloadfreebsd-ports-graphics-41acd3896991ff37239bfb4cfab702b8780de92c.tar.gz
freebsd-ports-graphics-41acd3896991ff37239bfb4cfab702b8780de92c.tar.zst
freebsd-ports-graphics-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')
-rw-r--r--x11-fonts/Makefile1
-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
5 files changed, 46 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 130a35081b3..f6cfa094e95 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -101,6 +101,7 @@
SUBDIR += gnu-unifont
SUBDIR += gnu-unifont-ttf
SUBDIR += gohufont
+ SUBDIR += hack-font
SUBDIR += hanazono-fonts-ttf
SUBDIR += hasklig
SUBDIR += inconsolata-lgc-ttf
diff --git a/x11-fonts/hack-font/Makefile b/x11-fonts/hack-font/Makefile
new file mode 100644
index 00000000000..97ed2b29197
--- /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 00000000000..02287c58853
--- /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 00000000000..8e6b3f8ceb9
--- /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 00000000000..b0b9aab0354
--- /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