summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'fonts')
-rw-r--r--fonts/Hack-ttf/DESCR17
-rw-r--r--fonts/Hack-ttf/Makefile27
-rw-r--r--fonts/Hack-ttf/PLIST5
-rw-r--r--fonts/Hack-ttf/distinfo5
4 files changed, 54 insertions, 0 deletions
diff --git a/fonts/Hack-ttf/DESCR b/fonts/Hack-ttf/DESCR
new file mode 100644
index 00000000000..05a8a088aab
--- /dev/null
+++ b/fonts/Hack-ttf/DESCR
@@ -0,0 +1,17 @@
+Hack is hand groomed and optically balanced to be a workhorse face
+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 face has been re-designed with a larger glyph set,
+modifications of the original glyph shapes (including distinct
+point styles and semi-bold punctuation weight in the regular set
+to make analphabetic characters less transparent), and meticulous
+attention to metrics (including numerous spacing adjustments to
+improve the rhythm of the face and the legibility of code at small
+text sizes). The large x-height + wide aperture + low contrast
+design combined with PostScript hinting/hint replacement programs
+and a TrueType instruction set make it highly legible at commonly
+used source code text sizes with a sweet spot that runs in the 8px
+- 12px range on modern desktop and laptop monitors. Combine it with
+an HD monitor and you can comfortably work at 6 or 7px sizes.
diff --git a/fonts/Hack-ttf/Makefile b/fonts/Hack-ttf/Makefile
new file mode 100644
index 00000000000..bb4a84663b1
--- /dev/null
+++ b/fonts/Hack-ttf/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2015/09/06 09:16:24 wiz Exp $
+
+DISTNAME= Hack-v2_010-ttf
+PKGNAME= Hack-ttf-2.010
+CATEGORIES= fonts
+MASTER_SITES= ${MASTER_SITE_GITHUB:=chrissimpkins/}
+GITHUB_PROJECT= Hack
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://sourcefoundry.org/hack/
+COMMENT= Typeface designed for source code
+LICENSE= vera-ttf-license AND ofl-v1.1 # with modifications
+
+WRKSRC= ${WRKDIR}
+
+FONTS_DIRS.ttf= ${PREFIX}/share/fonts/X11/TTF
+INSTALLATION_DIRS= ${FONTS_DIRS.ttf}
+
+do-build:
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/*ttf ${DESTDIR}/${FONTS_DIRS.ttf}
+
+# url2pkg-marker (please do not remove this line.)
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/Hack-ttf/PLIST b/fonts/Hack-ttf/PLIST
new file mode 100644
index 00000000000..fe8f61bb4ae
--- /dev/null
+++ b/fonts/Hack-ttf/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2015/09/06 09:16:24 wiz Exp $
+share/fonts/X11/TTF/Hack-Bold.ttf
+share/fonts/X11/TTF/Hack-BoldOblique.ttf
+share/fonts/X11/TTF/Hack-Regular.ttf
+share/fonts/X11/TTF/Hack-RegularOblique.ttf
diff --git a/fonts/Hack-ttf/distinfo b/fonts/Hack-ttf/distinfo
new file mode 100644
index 00000000000..b3a2b8c82e4
--- /dev/null
+++ b/fonts/Hack-ttf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/09/06 09:16:24 wiz Exp $
+
+SHA1 (Hack-v2_010-ttf.zip) = 532de6abecfc2aa34825e8f7445a96ffcc2d1c3c
+RMD160 (Hack-v2_010-ttf.zip) = 7c66fb4dec3eed07508b03d5fb16a77311c2bf41
+Size (Hack-v2_010-ttf.zip) = 683457 bytes