svn commit: r381620 - head/Mk/Uses

Baptiste Daroussin bapt at FreeBSD.org
Thu Mar 19 17:03:02 UTC 2015


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
+


More information about the svn-ports-head mailing list