aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-21 00:42:34 +0800
committerbapt <bapt@FreeBSD.org>2015-03-21 00:42:34 +0800
commit57b1f2b2d2bb2364bf9377f3f6ca67ef2a0a1a43 (patch)
tree3cd99c90ce51b6fa819c1f8b954921c998dadb8a /x11-fonts
parent39d22f0360247b4aec36e1446f78fcb270207506 (diff)
downloadfreebsd-ports-gnome-57b1f2b2d2bb2364bf9377f3f6ca67ef2a0a1a43.tar.gz
freebsd-ports-gnome-57b1f2b2d2bb2364bf9377f3f6ca67ef2a0a1a43.tar.zst
freebsd-ports-gnome-57b1f2b2d2bb2364bf9377f3f6ca67ef2a0a1a43.zip
Convert to USES=fonts
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/hasklig/Makefile9
-rw-r--r--x11-fonts/hasklig/pkg-plist1
2 files changed, 2 insertions, 8 deletions
diff --git a/x11-fonts/hasklig/Makefile b/x11-fonts/hasklig/Makefile
index 311049732598..e2afede951d5 100644
--- a/x11-fonts/hasklig/Makefile
+++ b/x11-fonts/hasklig/Makefile
@@ -3,6 +3,7 @@
PORTNAME= hasklig
PORTVERSION= 0.4
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/i-tu/Hasklig/releases/download/${PORTVERSION}/
DISTNAME= Hasklig-${PORTVERSION}
@@ -10,16 +11,10 @@ DISTNAME= Hasklig-${PORTVERSION}
MAINTAINER= 6yearold@gmail.com
COMMENT= Haskell code font with monospaced ligatures
-RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-
-USES= zip
+USES= fonts zip
NO_BUILD= yes
-
NO_ARCH= 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}
diff --git a/x11-fonts/hasklig/pkg-plist b/x11-fonts/hasklig/pkg-plist
index f3a94784635b..6a6428626969 100644
--- a/x11-fonts/hasklig/pkg-plist
+++ b/x11-fonts/hasklig/pkg-plist
@@ -5,4 +5,3 @@
%%FONTSDIR%%/Hasklig-Medium.otf
%%FONTSDIR%%/Hasklig-Regular.otf
%%FONTSDIR%%/Hasklig-Semibold.otf
-@fc %%FONTSDIR%%