Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2015 17:03:02 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381620 - head/Mk/Uses
Message-ID:  <201503191703.t2JH32bd055387@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Mar 19 17:03:01 2015
New Revision: 381620
URL: https://svnweb.freebsd.org/changeset/ports/381620
QAT: https://qat.redports.org/buildarchive/r381620/

Log:
  Add a new USES=fonts to simplify handling of fonts ports

Added:
  head/Mk/Uses/fonts.mk   (contents, props changed)

Added: head/Mk/Uses/fonts.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/Mk/Uses/fonts.mk	Thu Mar 19 17:03:01 2015	(r381620)
@@ -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
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503191703.t2JH32bd055387>