aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-20 01:49:14 +0800
committerbapt <bapt@FreeBSD.org>2015-03-20 01:49:14 +0800
commit9dcd456c7dc317313e13cc2bf5f930a734df5b47 (patch)
tree19ff8fd5fb185084d53f8554398238787fd5a585
parentdfe19075071127c71f6d18265e79ca41a41c50f2 (diff)
downloadfreebsd-ports-gnome-9dcd456c7dc317313e13cc2bf5f930a734df5b47.tar.gz
freebsd-ports-gnome-9dcd456c7dc317313e13cc2bf5f930a734df5b47.tar.zst
freebsd-ports-gnome-9dcd456c7dc317313e13cc2bf5f930a734df5b47.zip
Convert to USES=fonts
-rw-r--r--x11-fonts/font-gost/Makefile7
-rw-r--r--x11-fonts/font-gost/pkg-plist2
2 files changed, 2 insertions, 7 deletions
diff --git a/x11-fonts/font-gost/Makefile b/x11-fonts/font-gost/Makefile
index 1c420fff411c..3194de42c7e8 100644
--- a/x11-fonts/font-gost/Makefile
+++ b/x11-fonts/font-gost/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gost
PORTVERSION= 0.2
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://sd.ascon.ru/ftp/Public/Utils/DWG-DXF/ \
LOCAL/vg
@@ -12,14 +13,10 @@ DISTNAME= TTF_FON
MAINTAINER= vg@FreeBSD.org
COMMENT= GOST TrueType fonts
-RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-
-USES= zip
+USES= fonts zip
NO_BUILD= yes
-PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
FONTSDIR= ${PREFIX}/lib/X11/fonts/gost
SUB_FILES= pkg-message
-SUB_LIST= FONTSDIR=${FONTSDIR}
WRKSRC= ${WRKDIR}/Fonts
do-install:
diff --git a/x11-fonts/font-gost/pkg-plist b/x11-fonts/font-gost/pkg-plist
index 36842214b56f..ca4d12cf3476 100644
--- a/x11-fonts/font-gost/pkg-plist
+++ b/x11-fonts/font-gost/pkg-plist
@@ -1,8 +1,6 @@
-@exec %D/bin/fc-cache -f -v %%FONTSDIR%%
%%FONTSDIR%%/GOST_A.TTF
%%FONTSDIR%%/GOST_AU.ttf
%%FONTSDIR%%/GOST_B.TTF
%%FONTSDIR%%/GOST_BU.ttf
%%FONTSDIR%%/SYMBOL_A.TTF
%%FONTSDIR%%/SYMBOL_B.TTF
-@dirrm %%FONTSDIR%%