[63029] trunk/dports/net/dnsmasq/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Jan 23 19:33:48 PST 2010


Revision: 63029
          http://trac.macports.org/changeset/63029
Author:   ryandesign at macports.org
Date:     2010-01-23 19:33:46 -0800 (Sat, 23 Jan 2010)
Log Message:
-----------
dnsmasq: Move the notes to where "port notes" will be able to find them. Fix the "port load" command in the notes. MacPorts requires Tiger or later, so always install the launchd item now.

Modified Paths:
--------------
    trunk/dports/net/dnsmasq/Portfile

Modified: trunk/dports/net/dnsmasq/Portfile
===================================================================
--- trunk/dports/net/dnsmasq/Portfile	2010-01-23 23:54:52 UTC (rev 63028)
+++ trunk/dports/net/dnsmasq/Portfile	2010-01-24 03:33:46 UTC (rev 63029)
@@ -24,6 +24,12 @@
 platforms	        darwin
 depends_build       port:nawk
 
+notes               A startup item has been generated that will aid in \
+                    starting ${name} with launchd. It is disabled \
+                    by default. Execute the following command to start it, \
+                    and to cause it to launch at startup: \
+                    \n\nsudo port load ${name}
+
 master_sites	    http://www.thekelleys.org.uk/dnsmasq/
 
 checksums           md5     1bb32fffdb4f977ead607802b5d701d0 \
@@ -66,10 +72,9 @@
     file mkdir ${prefix}/var/run
 
     #
-    # If on Tiger or above, setup a launchd item.  The daemondo wrapper is not
-    # needed.
+    # Set up a launchd item.  The daemondo wrapper is not needed.
     #
-    if {${os.major} >= 8} {
+
         # Create the plist file
         set itemname        ${startupitem.name}
         set uniquename      ${startupitem.uniquename}
@@ -107,14 +112,4 @@
         # Make a symlink to the plist file
         file mkdir "${destroot}/Library/${daemondest}"
         ln -sf "${itemdir}/${plistname}" "${destroot}/Library/${daemondest}"
-    
-        # Emit some information for the user
-notes   \
-A startup item has been generated that will aid in \
-starting ${name} with launchd. It is disabled \
-by default. Execute the following command to start it, \
-and to cause it to launch at startup: \
-sudo port load /Library/${daemondest}/${plistname}
-    }
-
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100123/3832dcd1/attachment-0001.html>


More information about the macports-changes mailing list