[35108] trunk/dports/aqua/dnsupdate27/Portfile

jmr at macports.org jmr at macports.org
Mon Mar 17 09:16:16 PDT 2008


Revision: 35108
          http://trac.macosforge.org/projects/macports/changeset/35108
Author:   jmr at macports.org
Date:     2008-03-17 09:16:16 -0700 (Mon, 17 Mar 2008)

Log Message:
-----------
dnsupdate27: direct users of OS X 10.4 and later to use the newer version.

Modified Paths:
--------------
    trunk/dports/aqua/dnsupdate27/Portfile

Modified: trunk/dports/aqua/dnsupdate27/Portfile
===================================================================
--- trunk/dports/aqua/dnsupdate27/Portfile	2008-03-17 16:11:13 UTC (rev 35107)
+++ trunk/dports/aqua/dnsupdate27/Portfile	2008-03-17 16:16:16 UTC (rev 35108)
@@ -13,13 +13,22 @@
 					like DynDNS.org and ZoneEdit.com, specific to Mac OS \
 					X. It uses the Cocoa framework and is launched at \
 					boot time. It comes with a graphic application to \
-					configure and monitor the client.
+					configure and monitor the client. NOTE: this version is \
+					for Mac OS X 10.3 and earlier. For 10.4 and later, use \
+					dnsupdate rather than dnsupdate27.
 homepage		http://www.dnsupdate.org/
 master_sites	http://ju.jalon.free.fr/DNSUpdateProject/
 distname		DNSUpdate${version}s
 checksums		md5 02edf8eca13cb0d40a9d5f38eb0a35cc
 worksrcdir		DNSUpdate2
 
+pre-fetch {
+    if {${os.major} > 7} {
+        return -code error "This version of DNSUpdate is for Mac OS X 10.3 and earlier. \
+            For 10.4 or later, use dnsupdate rather than dnsupdate27."
+    }
+}
+
 patchfiles		patch-DUInterface.h.diff patch-DNSUpdate2.pbproj-project.pbxproj.diff
 post-patch {
 	reinplace "s|/usr/bin/tar.*\[*\]|& --owner root --group wheel|" \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080317/8e513644/attachment.html


More information about the macports-changes mailing list