aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/hasklig
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-06-27 17:09:43 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-06-27 17:09:43 +0000
commit0b55bb1b935faf01a1f1949359690de0f034ff47 (patch)
tree93f3e90f961e69df102ef9c37687cdcf1594b6ef /x11-fonts/hasklig
parente417eb3aeb1c63fb83ecd836af323b8d1314e8c2 (diff)
downloadports-0b55bb1b935faf01a1f1949359690de0f034ff47.tar.gz
ports-0b55bb1b935faf01a1f1949359690de0f034ff47.zip
Notes
Diffstat (limited to 'x11-fonts/hasklig')
-rw-r--r--x11-fonts/hasklig/Makefile25
-rw-r--r--x11-fonts/hasklig/distinfo2
-rw-r--r--x11-fonts/hasklig/pkg-descr5
-rw-r--r--x11-fonts/hasklig/pkg-plist8
4 files changed, 40 insertions, 0 deletions
diff --git a/x11-fonts/hasklig/Makefile b/x11-fonts/hasklig/Makefile
new file mode 100644
index 000000000000..0336d525f394
--- /dev/null
+++ b/x11-fonts/hasklig/Makefile
@@ -0,0 +1,25 @@
+# Created by: arrowdodger <6yearold@gmail.com>
+# $FreeBSD$
+
+PORTNAME= hasklig
+PORTVERSION= 0.3
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/i-tu/Hasklig/releases/download/${PORTVERSION}/
+DISTNAME= Hasklig-${PORTVERSION}
+
+MAINTAINER= 6yearold@gmail.com
+COMMENT= A Haskell code font with monospaced ligatures
+
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USES= zip
+NO_BUILD= yes
+
+PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
+FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ cd ${WRKDIR} && ${INSTALL_DATA} *.otf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/hasklig/distinfo b/x11-fonts/hasklig/distinfo
new file mode 100644
index 000000000000..cc2bd9319635
--- /dev/null
+++ b/x11-fonts/hasklig/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Hasklig-0.3.zip) = a0dc9f78db7870404d61f7fc4413816c0cc66307ff81548ce3f8cf724868a828
+SIZE (Hasklig-0.3.zip) = 374484
diff --git a/x11-fonts/hasklig/pkg-descr b/x11-fonts/hasklig/pkg-descr
new file mode 100644
index 000000000000..8917b8bcb978
--- /dev/null
+++ b/x11-fonts/hasklig/pkg-descr
@@ -0,0 +1,5 @@
+Hasklig is a Haskell code font with monospaced ligatures based on Source Code
+Pro font. It adds nice representations of such operators like (->), (>>=),
+(-<) and so on.
+
+WWW: http://github.com/i-tu/Hasklig
diff --git a/x11-fonts/hasklig/pkg-plist b/x11-fonts/hasklig/pkg-plist
new file mode 100644
index 000000000000..f3a94784635b
--- /dev/null
+++ b/x11-fonts/hasklig/pkg-plist
@@ -0,0 +1,8 @@
+%%FONTSDIR%%/Hasklig-Black.otf
+%%FONTSDIR%%/Hasklig-Bold.otf
+%%FONTSDIR%%/Hasklig-ExtraLight.otf
+%%FONTSDIR%%/Hasklig-Light.otf
+%%FONTSDIR%%/Hasklig-Medium.otf
+%%FONTSDIR%%/Hasklig-Regular.otf
+%%FONTSDIR%%/Hasklig-Semibold.otf
+@fc %%FONTSDIR%%