From owner-svn-ports-all@FreeBSD.ORG Fri Jan 9 21:12:54 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBB739B3; Fri, 9 Jan 2015 21:12:54 +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 A7A30E89; Fri, 9 Jan 2015 21:12:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t09LCs1o088142; Fri, 9 Jan 2015 21:12:54 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t09LCsO0088141; Fri, 9 Jan 2015 21:12:54 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201501092112.t09LCsO0088141@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Fri, 9 Jan 2015 21:12:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376659 - 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: Fri, 09 Jan 2015 21:12:54 -0000 Author: bdrewery Date: Fri Jan 9 21:12:53 2015 New Revision: 376659 URL: https://svnweb.freebsd.org/changeset/ports/376659 QAT: https://qat.redports.org/buildarchive/r376659/ Log: Add 'post-plist' target which can be hooked into to modify the plist without needing to add more targets to STAGE_SEQ. This is especially useful for customizing the ports tree/framework without modifying bsd.port.mk. With hat: portmgr Discussed with: mat Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Fri Jan 9 20:59:09 2015 (r376658) +++ head/Mk/bsd.port.mk Fri Jan 9 21:12:53 2015 (r376659) @@ -5912,6 +5912,7 @@ _BUILD_SEQ= build-message pre-build pre _STAGE_DEP= build _STAGE_SEQ= stage-message stage-dir run-depends lib-depends apply-slist pre-install generate-plist \ pre-su-install +# post-plist must be after anything that modifies TMPPLIST .if defined(NEED_ROOT) _STAGE_SUSEQ= create-users-groups do-install \ kmod-post-install fix-perl-things \ @@ -5920,7 +5921,7 @@ _STAGE_SUSEQ= create-users-groups do-ins install-rc-script install-ldconfig-file install-license \ install-desktop-entries add-plist-info add-plist-docs \ add-plist-examples add-plist-data add-plist-post \ - move-uniquefiles-plist + move-uniquefiles-plist post-plist .if defined(DEVELOPER) _STAGE_SUSEQ+= stage-qa .endif @@ -5932,7 +5933,7 @@ _STAGE_SEQ+= create-users-groups do-inst install-rc-script install-ldconfig-file install-license \ install-desktop-entries add-plist-info add-plist-docs \ add-plist-examples add-plist-data add-plist-post \ - move-uniquefiles-plist + move-uniquefiles-plist post-plist .if defined(DEVELOPER) _STAGE_SEQ+= stage-qa .endif