diff options
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/hack-font/Makefile | 32 | ||||
-rw-r--r-- | x11-fonts/hack-font/distinfo | 3 | ||||
-rw-r--r-- | x11-fonts/hack-font/pkg-descr | 6 | ||||
-rw-r--r-- | x11-fonts/hack-font/pkg-plist | 4 |
5 files changed, 46 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 130a35081b32..f6cfa094e951 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 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 |