Specifying multiple executable arguments using startupitems

Ryan Schmidt ryandesign at macports.org
Sun Jun 14 17:07:25 UTC 2020



On Jun 14, 2020, at 12:04, Steven Smith wrote:

> Widespread practice is to code around it and edit the launchd .plist’s in the post-activate block. You can use tcl’s reinplace or sh’s plutil as necessary to edit the .plists.
> 
> Example Portfiles that do this extensively:
> 
>https://github.com/macports/macports-ports/blob/master/net/calendar-contacts-server/Portfile
>https://github.com/macports/macports-ports/blob/master/sysutils/clamav-server/Portfile
>https://github.com/macports/macports-ports/blob/master/mail/mail-server/Portfile

I would like to strongly discourage the use of such hacks. If startupitem support in MacPorts base is not sufficient to express what we need, it should be enhanced.



More information about the macports-dev mailing list