From c8d97be13ea91d143df3ee45e5e4b892c2eb4526 Mon Sep 17 00:00:00 2001 From: rakuco 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/Makefile | 1 + x11-fonts/hasklig/Makefile | 25 +++++++++++++++++++++++++ x11-fonts/hasklig/distinfo | 2 ++ x11-fonts/hasklig/pkg-descr | 5 +++++ x11-fonts/hasklig/pkg-plist | 8 ++++++++ 5 files changed, 41 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 diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 40f5c8e75e92..e22924ca6cf5 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -100,6 +100,7 @@ SUBDIR += gnu-unifont-ttf SUBDIR += gohufont SUBDIR += hanazono-fonts-ttf + SUBDIR += hasklig SUBDIR += inconsolata-lgc-ttf SUBDIR += inconsolata-ttf SUBDIR += indic-ttf 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