From owner-svn-ports-all@FreeBSD.ORG Thu Mar 19 17:03:02 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92860DCE; Thu, 19 Mar 2015 17:03:02 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7EAE2F8E; Thu, 19 Mar 2015 17:03:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2JH32u9055388; Thu, 19 Mar 2015 17:03:02 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2JH32bd055387; Thu, 19 Mar 2015 17:03:02 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201503191703.t2JH32bd055387@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 19 Mar 2015 17:03:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381620 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2015 17:03:02 -0000 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 +