aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-19 17:37:24 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-19 17:37:24 +0000
commit86bba2925faaa9e0ad687120a4f2d52efff0365b (patch)
tree4f70c5117ed15744d0722646404efa519f487a3f /x11-fonts
parent1cbd14e079dc2d33c92c49a577bb620910fc28d7 (diff)
downloadports-86bba2925faaa9e0ad687120a4f2d52efff0365b.tar.gz
ports-86bba2925faaa9e0ad687120a4f2d52efff0365b.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/comic-neue/Makefile8
-rw-r--r--x11-fonts/comic-neue/pkg-plist3
2 files changed, 2 insertions, 9 deletions
diff --git a/x11-fonts/comic-neue/Makefile b/x11-fonts/comic-neue/Makefile
index 704d46f01da8..31ee5f65020d 100644
--- a/x11-fonts/comic-neue/Makefile
+++ b/x11-fonts/comic-neue/Makefile
@@ -2,6 +2,7 @@
PORTNAME= comic-neue
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://comicneue.com/
@@ -13,16 +14,11 @@ LICENSE_NAME= CC0 1.0 Universal
LICENSE_TEXT= See http://creativecommons.org/publicdomain/zero/1.0/
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-USES= zip
+USES= fonts zip
NO_BUILD= yes
-PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
SUB_FILES= pkg-message
-SUB_LIST= FONTSDIR=${FONTSDIR}
WRKSRC= ${WRKDIR}/${DISTNAME}
do-install:
diff --git a/x11-fonts/comic-neue/pkg-plist b/x11-fonts/comic-neue/pkg-plist
index f71fbec33bb4..3cef836230fa 100644
--- a/x11-fonts/comic-neue/pkg-plist
+++ b/x11-fonts/comic-neue/pkg-plist
@@ -10,6 +10,3 @@
%%FONTSDIR%%/ComicNeue-Light.ttf
%%FONTSDIR%%/ComicNeue-Regular-Oblique.ttf
%%FONTSDIR%%/ComicNeue-Regular.ttf
-@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
-@dirrm %%FONTSDIR%%
-@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || /usr/bin/true