[MacPorts] #60653: Allow ports to customize the launchd plist files in the destroot phase

MacPorts noreply at macports.org
Sun Jun 14 19:43:57 UTC 2020


#60653: Allow ports to customize the launchd plist files in the destroot phase
-------------------------+-----------------------------
 Reporter:  ryandesign   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:  MacPorts Future
Component:  base         |    Version:  2.6.2
 Keywords:               |       Port:
-------------------------+-----------------------------
 Currently MacPorts creates any launchd plists for startupitem /
 startupitems keywords after the destroot phase is completely over, even
 after any post-destroot blocks have run. This provides no opportunity for
 portfiles to customize the launchd plist. Many ports have a desire to do
 so and have had to resort to inelegant hacks like modifying the installed
 plist in a post-activate block.

 Can we instead create the plist before the destroot phase runs, or after
 the main destroot command runs but before the post-destroot blocks?

-- 
Ticket URL: <https://trac.macports.org/ticket/60653>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list