[146380] trunk/dports/graphics/wxWidgets-3.0/Portfile

mojca at macports.org mojca at macports.org
Sun Mar 6 11:55:43 PST 2016


Revision: 146380
          https://trac.macports.org/changeset/146380
Author:   mojca at macports.org
Date:     2016-03-06 11:55:43 -0800 (Sun, 06 Mar 2016)
Log Message:
-----------
wxWidgets-3.0: cosmetic changes and comments only

Modified Paths:
--------------
    trunk/dports/graphics/wxWidgets-3.0/Portfile

Modified: trunk/dports/graphics/wxWidgets-3.0/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets-3.0/Portfile	2016-03-06 19:54:47 UTC (rev 146379)
+++ trunk/dports/graphics/wxWidgets-3.0/Portfile	2016-03-06 19:55:43 UTC (rev 146380)
@@ -7,9 +7,13 @@
 PortGroup           wxWidgets       1.0
 
 name                wxWidgets-3.0
+# ugly workaround to allow some C++11-only applications to be built on < 10.9
 subport             wxWidgets-3.0-libcxx {}
+# for cases when wxPython gets out of sync with wxWidgets releases
 subport             wxPython-3.0 {}
+# build against GTK 3 
 subport             wxgtk-3.0 {}
+# TODO: fix dist_subdir at next release
 version             3.0.2
 revision            4
 set wxpython_ver    3.0.2.0
@@ -57,13 +61,20 @@
 use_bzip2           yes
 
 distfiles           ${distname}-${version}${extract.suffix}
-# remove _1 at the end with the next proper version
-dist_subdir         ${distname}/${version}_1
 
 checksums           ${distname}-${version}${extract.suffix} \
                     rmd160  a7f404c8a64ca68fa31e408bded4387c2722196b \
                     sha256  346879dc554f3ab8d6da2704f651ecb504a22e9d31c17ef5449b129ed711585d
 
+# remove _1 at the end with the next proper version
+dist_subdir         wxWidgets/${version}_1
+worksrcdir          ${distname}-${version}/build
+patch.dir           ${worksrcpath}/..
+
+set selectdir       ${workpath}/select
+select.group        wxWidgets
+select.file         ${selectdir}/${subport}
+
 depends_lib         port:jpeg \
                     port:tiff \
                     port:libpng \
@@ -71,6 +82,13 @@
                     port:libiconv \
                     port:expat
 
+depends_run         port:wxWidgets-common \
+                    port:wxWidgets_select
+
+patchfiles-append   patch-configure.diff \
+                    patch-upstream-src-osx-carbon-fontdlgosx.mm.diff \
+                    patch-upstream-webkit-proper-types.diff
+
 if {${subport} eq "wxWidgets-3.0-libcxx"} {
     platform darwin {
         depends_lib-append port:libcxx
@@ -79,21 +97,6 @@
     }
 }
 
-depends_run         port:wxWidgets-common \
-                    port:wxWidgets_select
-
-set selectdir       ${workpath}/select
-select.group        wxWidgets
-select.file         ${selectdir}/${subport}
-
-worksrcdir          ${distname}-${version}/build
-
-patch.dir           ${worksrcpath}/..
-
-patchfiles-append   patch-configure.diff \
-                    patch-upstream-src-osx-carbon-fontdlgosx.mm.diff \
-                    patch-upstream-webkit-proper-types.diff
-
 post-patch {
     reinplace "s|@@PREFIX@@|${prefix}|g" ${patch.dir}/configure
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160306/0b64af10/attachment.html>


More information about the macports-changes mailing list