summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-01-20 11:38:44 +0000
committerwiz <wiz@pkgsrc.org>2016-01-20 11:38:44 +0000
commit0e57cd4e31ca808fb044ff673330946686bff242 (patch)
tree182b66225f25686fb6af94c241bf22370338de2a /fonts
parent75a832ef46ee3ec3bcb7d65957991a8ce689d9e9 (diff)
downloadpkgsrc-0e57cd4e31ca808fb044ff673330946686bff242.tar.gz
Import FiraCode-1.102 as fonts/FiraCode.
Fira Code is a Fira Mono font extended with a set of ligatures for common programming multi-character combinations. This is just a font rendering feature: underlying code remains ASCII-compatible. This helps to read and understand code faster. For some frequent sequences like .. or // ligatures allow us to correct spacing.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/FiraCode/DESCR5
-rw-r--r--fonts/FiraCode/Makefile23
-rw-r--r--fonts/FiraCode/PLIST6
-rw-r--r--fonts/FiraCode/distinfo6
4 files changed, 40 insertions, 0 deletions
diff --git a/fonts/FiraCode/DESCR b/fonts/FiraCode/DESCR
new file mode 100644
index 00000000000..07ea2496c25
--- /dev/null
+++ b/fonts/FiraCode/DESCR
@@ -0,0 +1,5 @@
+Fira Code is a Fira Mono font extended with a set of ligatures for
+common programming multi-character combinations. This is just a
+font rendering feature: underlying code remains ASCII-compatible.
+This helps to read and understand code faster. For some frequent
+sequences like .. or // ligatures allow us to correct spacing.
diff --git a/fonts/FiraCode/Makefile b/fonts/FiraCode/Makefile
new file mode 100644
index 00000000000..94bdcd03428
--- /dev/null
+++ b/fonts/FiraCode/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2016/01/20 11:38:44 wiz Exp $
+
+DISTNAME= FiraCode_1.102
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= fonts
+MASTER_SITES= ${MASTER_SITE_GITHUB:=tonsky/}
+GITHUB_RELEASE= ${DISTNAME:S/FiraCode_//}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/tonsky/FiraCode/
+COMMENT= Monospaced font with programming ligatures
+LICENSE= ofl-v1.1
+
+USE_LANGUAGES= # none
+NO_BUILD= yes
+FONTS_DIRS.ttf= ${PREFIX}/share/fonts/X11/OTF
+INSTALLATION_DIRS= share/fonts/X11/OTF
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/*.otf ${DESTDIR}${FONTS_DIRS.ttf}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/FiraCode/PLIST b/fonts/FiraCode/PLIST
new file mode 100644
index 00000000000..6a8ca93b1c6
--- /dev/null
+++ b/fonts/FiraCode/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2016/01/20 11:38:44 wiz Exp $
+share/fonts/X11/OTF/FiraCode-Bold.otf
+share/fonts/X11/OTF/FiraCode-Light.otf
+share/fonts/X11/OTF/FiraCode-Medium.otf
+share/fonts/X11/OTF/FiraCode-Regular.otf
+share/fonts/X11/OTF/FiraCode-Retina.otf
diff --git a/fonts/FiraCode/distinfo b/fonts/FiraCode/distinfo
new file mode 100644
index 00000000000..53b31ecd788
--- /dev/null
+++ b/fonts/FiraCode/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/01/20 11:38:44 wiz Exp $
+
+SHA1 (FiraCode_1.102.zip) = 8b9f2ed088f66c46c574069553e6c87814328f80
+RMD160 (FiraCode_1.102.zip) = b9637c050325065335c9c301158156c64cdf9c57
+SHA512 (FiraCode_1.102.zip) = 3f8a00bd3fac24d1b0c8466d5b30380cc81ada4ee386211a1c1c04edeab9245a480c326357cbbfe85890eacb9bdd8f9ea09ecad6306ef182acd3d75f140a9ec6
+Size (FiraCode_1.102.zip) = 484946 bytes