[99262] trunk/dports/aqua/istumbler/Portfile

mk at macports.org mk at macports.org
Tue Oct 30 11:05:27 PDT 2012


Revision: 99262
          http://trac.macports.org//changeset/99262
Author:   mk at macports.org
Date:     2012-10-30 11:05:27 -0700 (Tue, 30 Oct 2012)
Log Message:
-----------
istumbler: include version check (#issue 34857) and add BSD license

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

Modified: trunk/dports/aqua/istumbler/Portfile
===================================================================
--- trunk/dports/aqua/istumbler/Portfile	2012-10-30 17:00:43 UTC (rev 99261)
+++ trunk/dports/aqua/istumbler/Portfile	2012-10-30 18:05:27 UTC (rev 99262)
@@ -9,6 +9,7 @@
 maintainers	nomaintainer
 supported_archs	i386 ppc
 configure.universal_archs i386 ppc
+license     BSD
 
 description	iStumbler is an Aqua GUI for finding wireless networks
 long_description	iStumbler is a free, open source tool for finding \
@@ -40,6 +41,15 @@
 #	BUILT_PRODUCTS_DIR=${worksrcpath}/build
 #	OTHER_LDFLAGS="-I${worksrcpath}/Frameworks"
 
+pre-fetch {
+	platform darwin {
+		if {${os.major} < 10} {
+			ui_error "${name} requires OS X 10.6 or newer."
+			return -code error "incompatible OS X version"
+		}
+	}
+}
+
 if { ![variant_isset use_source] } {
 	default_variants +use_binary
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121030/b6690d37/attachment-0001.html>


More information about the macports-changes mailing list