svn commit: r376659 - head/Mk
Bryan Drewery
bdrewery at FreeBSD.org
Fri Jan 9 21:12:54 UTC 2015
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
More information about the svn-ports-all
mailing list