[76542] users/elelay/ports/aqua/Notifications2Growl/Portfile
Revision: 76542 http://trac.macports.org/changeset/76542 Author: elelay@macports.org Date: 2011-02-27 12:33:33 -0800 (Sun, 27 Feb 2011) Log Message: ----------- fix StartupItem. Modified Paths: -------------- users/elelay/ports/aqua/Notifications2Growl/Portfile Modified: users/elelay/ports/aqua/Notifications2Growl/Portfile =================================================================== --- users/elelay/ports/aqua/Notifications2Growl/Portfile 2011-02-27 19:03:36 UTC (rev 76541) +++ users/elelay/ports/aqua/Notifications2Growl/Portfile 2011-02-27 20:33:33 UTC (rev 76542) @@ -30,7 +30,13 @@ # StartupItem startupitem.create yes -startupitem.executable /usr/bin/open -a ${xcode.destroot.path}/Notifications2Growl.app + +# can't use startupitem.executable because open exits immediately +# (and can't use open -W because it's not available on Tiger +# can't invoke ${applications_dir}/Notifications2Growl.app/Contents/MacOS/Notifications2Growl +# because then the icon shows up in the dock +startupitem.start "/usr/bin/open -a ${applications_dir}/Notifications2Growl.app" + startupitem.location LaunchAgents # can't prevent the private Framework from being copied !
participants (1)
-
elelay@macports.org