From owner-svn-ports-all@FreeBSD.ORG Thu Dec 25 01:17:05 2014 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 09D8A2AD; Thu, 25 Dec 2014 01:17:05 +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 EA3D32C86; Thu, 25 Dec 2014 01:17:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBP1H4Lj067050; Thu, 25 Dec 2014 01:17:04 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBP1H4E4067049; Thu, 25 Dec 2014 01:17:04 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201412250117.sBP1H4E4067049@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 25 Dec 2014 01:17:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375503 - head/Mk 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, 25 Dec 2014 01:17:05 -0000 Author: bapt Date: Thu Dec 25 01:17:03 2014 New Revision: 375503 URL: https://svnweb.freebsd.org/changeset/ports/375503 QAT: https://qat.redports.org/buildarchive/r375503/ Log: Use PLIST_FILES instead of defining a custom post-install target to prepare the plist Modified: head/Mk/bsd.xorg.mk Modified: head/Mk/bsd.xorg.mk ============================================================================== --- head/Mk/bsd.xorg.mk Thu Dec 25 01:14:54 2014 (r375502) +++ head/Mk/bsd.xorg.mk Thu Dec 25 01:17:03 2014 (r375503) @@ -104,14 +104,13 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/mkfontdir ${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale . endif -post-install: . for _fontdir in ${FONTDIR} . if ${INSTALLS_TTF} == yes && ${NEED_MKFONTFOO} == yes - @${ECHO_CMD} "@fcfontsdir lib/X11/fonts/${_fontdir}" >> ${TMPPLIST} +PLIST_FILES+= "@fcfontsdir ${PREFIX}/lib/X11/fonts/${_fontdir}" . elif ${INSTALLS_TTF} == yes && ${NEED_MKFONTFOO} == no - @${ECHO_CMD} "@fc lib/X11/fonts/${_fontdir}" >> ${TMPPLIST} +PLIST_FILES+= "@fc ${PREFIX}/lib/X11/fonts/${_fontdir}" . elif ${NEED_MKFONTFOO} == yes - @${ECHO_CMD} "@fontsdir lib/X11/fonts/${_fontdir}" >> ${TMPPLIST} +PLIST_FILES+= "@fontsdir ${PREFIX}lib/X11/fonts/${_fontdir}" . endif . endfor .endif