Revision
98239
Author
jwa@macports.org
Date
2012-09-30 11:00:29 -0700 (Sun, 30 Sep 2012)

Log Message

wxWidgets30: new port (by name), copied from wxWidgets-devel, the devel release being considered to be of good quality leading to 3.0 series, when stable

Modified Paths

Added Paths

Diff

Modified: trunk/dports/graphics/wxWidgets30/Portfile (98210 => 98239)


--- trunk/dports/graphics/wxWidgets-devel/Portfile	2012-09-29 15:24:58 UTC (rev 98210)
+++ trunk/dports/graphics/wxWidgets30/Portfile	2012-09-30 18:00:29 UTC (rev 98239)
@@ -2,13 +2,11 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup               archcheck 1.0
 
-name            wxWidgets-devel
+name            wxWidgets30
 conflicts       wxgtk wxWidgets
 version         2.9.4
 epoch           20120709
-revision        2
 
 license         wxwidgets-3.1
 categories      graphics devel
@@ -42,16 +40,9 @@
                 port:libiconv \
                 port:expat
 
-archcheck.files lib/libjpeg.dylib \
-                lib/libtiff.dylib \
-                lib/libpng.dylib \
-                lib/libz.dylib \
-                lib/libiconv.dylib \
-                lib/libexpat.dylib
-
-if {${os.major} < 9} {
+if {${os.major} < 10} {
    pre-fetch {
-       ui_error "${name} requires Mac OS X 10.5 or later."
+       ui_error "${name} requires Mac OS X 10.6 or later."
        return -code error "incompatible Mac OS X version"
    }
 }
@@ -98,11 +89,6 @@
     ln -sf ${confscript} ${destroot}${prefix}/bin/wx-config
 }
 
-#platform darwin 11 {
-#    # 'InsetRect' was not declared in this scope
-#    macosx_deployment_target 10.6
-#}
-
 post-patch {
     reinplace "s|@@MP_ARCH_FLAGS@@|[get_canonical_archflags]|g" ${worksrcpath}/../configure
 }
@@ -138,4 +124,4 @@
 
 livecheck.type      regex
 livecheck.url       ${homepage}/downloads/
-livecheck.regex     Latest Development Release.*(2\\.\[0-9\]\\.\[0-9\]+)
+livecheck.regex     Release.*(\[23\]\\.\[0-9\]\\.\[0-9\]+)