diff options
author | bapt <bapt@FreeBSD.org> | 2015-03-20 01:03:01 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-03-20 01:03:01 +0800 |
commit | c37da57cb6d3366101e124d8c68bd903ceaaf424 (patch) | |
tree | e2bd15e2668c1b249cd642340958335ad9abebca /Mk/Uses | |
parent | 1ef94a38ef9d7b016a9d9846d6c82a47f23e34f6 (diff) | |
download | freebsd-ports-gnome-c37da57cb6d3366101e124d8c68bd903ceaaf424.tar.gz freebsd-ports-gnome-c37da57cb6d3366101e124d8c68bd903ceaaf424.tar.zst freebsd-ports-gnome-c37da57cb6d3366101e124d8c68bd903ceaaf424.zip |
Add a new USES=fonts to simplify handling of fonts ports
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/fonts.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Mk/Uses/fonts.mk b/Mk/Uses/fonts.mk new file mode 100644 index 000000000000..377f087c87d3 --- /dev/null +++ b/Mk/Uses/fonts.mk @@ -0,0 +1,18 @@ +# $FreeBSD$ +# +# handle fonts +# Feature: fonts +# Usage: USES=fonts + +.if !defined(_INCLUDE_USES_FONTS_MK) +.if !empty(fonts_ARGS) +IGNORE= USES=fonts - expecting no arguments +.endif + +RUN_DEPENDS+= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ + mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ + mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale + +PLIST_FILES+= "@fcfontsdir ${FONTSDIR}" +.endif + |