aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-20 02:13:40 +0800
committerbapt <bapt@FreeBSD.org>2015-03-20 02:13:40 +0800
commit72975fe41ee52c1a1e2151df896b14ae7e2f15e0 (patch)
tree80be70b489cb5b188a83108dcb24e649193bdc08 /x11-fonts
parent7ec2fee794a5bdc50b9cfbfe725e1ccc3820b0ca (diff)
downloadfreebsd-ports-gnome-72975fe41ee52c1a1e2151df896b14ae7e2f15e0.tar.gz
freebsd-ports-gnome-72975fe41ee52c1a1e2151df896b14ae7e2f15e0.tar.zst
freebsd-ports-gnome-72975fe41ee52c1a1e2151df896b14ae7e2f15e0.zip
Convert to USES=fonts
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/linuxlibertine/Makefile12
-rw-r--r--x11-fonts/linuxlibertine/pkg-plist3
2 files changed, 5 insertions, 10 deletions
diff --git a/x11-fonts/linuxlibertine/Makefile b/x11-fonts/linuxlibertine/Makefile
index 5eb67527d98e..abe3f04bfb35 100644
--- a/x11-fonts/linuxlibertine/Makefile
+++ b/x11-fonts/linuxlibertine/Makefile
@@ -3,6 +3,7 @@
PORTNAME= linuxlibertine
PORTVERSION= 4.7.5
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= SF
DISTNAME= LinLibertineFont-${PORTVERSION}-2
@@ -14,24 +15,21 @@ COMMENT= Linux Libertine Open Fonts
LICENSE= GPLv2 LINUXLIBERTINE OFL10
LICENSE_COMB= multi
-OPTIONS_DEFINE= DOCS
+USES= fonts
-BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+OPTIONS_DEFINE= DOCS
LICENSE_NAME_LINUXLIBERTINE= LinuxLibertine License
LICENSE_FILE_LINUXLIBERTINE= ${WRKSRC}/LICENCE.txt
-LICENSE_PERMS_LINUXLIBERTINE= auto-accept
+LICENSE_PERMS_LINUXLIBERTINE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_NAME_OFL= Open Fonts License
LICENSE_FILE_OFL= ${WRKSRC}/OFL.txt
-LICENSE_PERMS_OFL= auto-accept
+LICENSE_PERMS_OFL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
SUB_FILES= pkg-deinstall
-SUB_LIST= FONTSDIR=${FONTSDIR}
WRKSRC= ${WRKDIR}/LinLibertine
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME}
-PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
NO_BUILD= yes
PORTDOCS= Bugs.txt \
diff --git a/x11-fonts/linuxlibertine/pkg-plist b/x11-fonts/linuxlibertine/pkg-plist
index 7b3437cbbc34..16c9d2d50761 100644
--- a/x11-fonts/linuxlibertine/pkg-plist
+++ b/x11-fonts/linuxlibertine/pkg-plist
@@ -18,6 +18,3 @@
%%FONTSDIR%%/LinLibertine_Re-4.7.5.ttf
%%FONTSDIR%%/LinBiolinum_Sl-0.4.9.otf
%%FONTSDIR%%/LinBiolinum_Sl-0.4.9.ttf
-@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
-@dirrmtry %%FONTSDIR%%
-@exec %%LOCALBASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true