[76542] users/elelay/ports/aqua/Notifications2Growl/Portfile

elelay at macports.org elelay at macports.org
Sun Feb 27 12:33:38 PST 2011


Revision: 76542
          http://trac.macports.org/changeset/76542
Author:   elelay at 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 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110227/4b633077/attachment.html>


More information about the macports-changes mailing list