diff options
author | rakuco <rakuco@FreeBSD.org> | 2014-06-28 01:09:43 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2014-06-28 01:09:43 +0800 |
commit | c8d97be13ea91d143df3ee45e5e4b892c2eb4526 (patch) | |
tree | 93f3e90f961e69df102ef9c37687cdcf1594b6ef | |
parent | 3d7c8741a4c5c9c1d3d0125d1e3988cf0164ebd6 (diff) | |
download | freebsd-ports-gnome-c8d97be13ea91d143df3ee45e5e4b892c2eb4526.tar.gz freebsd-ports-gnome-c8d97be13ea91d143df3ee45e5e4b892c2eb4526.tar.zst freebsd-ports-gnome-c8d97be13ea91d143df3ee45e5e4b892c2eb4526.zip |
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>
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/hasklig/Makefile | 25 | ||||
-rw-r--r-- | x11-fonts/hasklig/distinfo | 2 | ||||
-rw-r--r-- | x11-fonts/hasklig/pkg-descr | 5 | ||||
-rw-r--r-- | x11-fonts/hasklig/pkg-plist | 8 |
5 files changed, 41 insertions, 0 deletions
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 <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%% |