From 0b55bb1b935faf01a1f1949359690de0f034ff47 Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Fri, 27 Jun 2014 17:09:43 +0000 Subject: Add x11-fonts/hasklig. 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 PR: 191152 Submitted by: arrowdodger <6yearold@gmail.com> --- x11-fonts/hasklig/Makefile | 25 +++++++++++++++++++++++++ x11-fonts/hasklig/distinfo | 2 ++ x11-fonts/hasklig/pkg-descr | 5 +++++ x11-fonts/hasklig/pkg-plist | 8 ++++++++ 4 files changed, 40 insertions(+) create mode 100644 x11-fonts/hasklig/Makefile create mode 100644 x11-fonts/hasklig/distinfo create mode 100644 x11-fonts/hasklig/pkg-descr create mode 100644 x11-fonts/hasklig/pkg-plist (limited to 'x11-fonts/hasklig') 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 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%% -- cgit v1.2.3