[109357] users/mojca/wxports

mojca at macports.org mojca at macports.org
Tue Aug 13 15:58:26 PDT 2013


Revision: 109357
          https://trac.macports.org/changeset/109357
Author:   mojca at macports.org
Date:     2013-08-13 15:58:26 -0700 (Tue, 13 Aug 2013)
Log Message:
-----------
mojca/gis/grass: adapt the Portfile to new wxWidgets structure

Modified Paths:
--------------
    users/mojca/wxports/gis/grass/Portfile

Added Paths:
-----------
    users/mojca/wxports/gis/
    users/mojca/wxports/gis/grass/

Modified: users/mojca/wxports/gis/grass/Portfile
===================================================================
--- trunk/dports/gis/grass/Portfile	2013-08-13 22:25:13 UTC (rev 109356)
+++ users/mojca/wxports/gis/grass/Portfile	2013-08-13 22:58:26 UTC (rev 109357)
@@ -1,11 +1,12 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem        1.0
+PortGroup         wxwidgets 1.0
 
 name              grass
 epoch             1
 version           6.4.2
-revision          3
+revision          4
 maintainers       nomaintainer
 categories        gis
 license           GPL-2+
@@ -21,6 +22,8 @@
 checksums         rmd160  2a8a2a63edf8e1cc53b7b26975087eef59c9a397 \
                   sha256  670bb74d3000ea0932b7e988d3080d0c629f9eb22a8479bb2987ded473f7b4ca
 
+wxWidgets.use     wxPython-3.0
+
 depends_build     port:pkgconfig
 depends_lib       port:fftw-3 \
                   port:freetype \
@@ -35,8 +38,6 @@
                   path:lib/pkgconfig/cairo.pc:cairo \
                   port:readline
 
-use_parallel_build yes
-
 # https://trac.macports.org/ticket/32790
 # this should probably only apply to some Xcode versions
 compiler.blacklist  clang
@@ -195,13 +196,13 @@
 }
 
 variant wxwidgets description {Add WXWidgets support} {
-    depends_lib-append	  port:wxwidgets30
+    depends_lib-append    port:wxPython-3.0
     configure.args-delete --disable-wxwidgets
-    configure.args-append --with-wxwidgets=${prefix}/bin/wx-config
+    configure.args-append --with-wxwidgets=${wxWidgets.wxconfig}
 }
 
 variant wxPython requires wxwidgets description {Enable support for wxGUI Python extensions} {
-    depends_lib			  port:py27-wxpython30
+    depends_lib           port:py27-wxpython-3.0
     configure.args-delete --disable-python
     configure.args-append --with-python=${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7-config
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130813/ee04ebbb/attachment.html>


More information about the macports-changes mailing list