aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/khmeros
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-20 01:59:17 +0800
committerbapt <bapt@FreeBSD.org>2015-03-20 01:59:17 +0800
commit4aa87c4f38b6c4892e810f6c0810efcea42d0869 (patch)
treebabfd2fc6535287e4f0fb389e18c5dbd19ff6904 /x11-fonts/khmeros
parent3567bb05322b89da4e3831f95c1710f49f8ed91f (diff)
downloadfreebsd-ports-gnome-4aa87c4f38b6c4892e810f6c0810efcea42d0869.tar.gz
freebsd-ports-gnome-4aa87c4f38b6c4892e810f6c0810efcea42d0869.tar.zst
freebsd-ports-gnome-4aa87c4f38b6c4892e810f6c0810efcea42d0869.zip
Convert to USES=fonts
Diffstat (limited to 'x11-fonts/khmeros')
-rw-r--r--x11-fonts/khmeros/Makefile5
-rw-r--r--x11-fonts/khmeros/pkg-plist2
2 files changed, 2 insertions, 5 deletions
diff --git a/x11-fonts/khmeros/Makefile b/x11-fonts/khmeros/Makefile
index b27a514d0c95..582562d9c7ea 100644
--- a/x11-fonts/khmeros/Makefile
+++ b/x11-fonts/khmeros/Makefile
@@ -3,6 +3,7 @@
PORTNAME= khmeros
PORTVERSION= 5.0
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= SF/khmer/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%205.0-%20LGPL%20Licence
DISTNAME= All_KhmerOS_5.0
@@ -10,9 +11,7 @@ DISTNAME= All_KhmerOS_5.0
MAINTAINER= buganini@gmail.com
COMMENT= Khmer OS fonts
-RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-
-USES= zip
+USES= fonts zip
NO_BUILD= yes
FONTSDIR= lib/X11/fonts/Khmer
diff --git a/x11-fonts/khmeros/pkg-plist b/x11-fonts/khmeros/pkg-plist
index f4189018d151..b78a777fa76a 100644
--- a/x11-fonts/khmeros/pkg-plist
+++ b/x11-fonts/khmeros/pkg-plist
@@ -10,5 +10,3 @@
%%FONTSDIR%%/KhmerOS_muolpali.ttf
%%FONTSDIR%%/KhmerOS_siemreap.ttf
%%FONTSDIR%%/KhmerOS_sys.ttf
-@exec %D/bin/fc-cache -f -v %%FONTSDIR%%
-@dirrm %%FONTSDIR%%