[110243] trunk/dports/devel/poedit/Portfile

mojca at macports.org mojca at macports.org
Thu Aug 29 00:54:02 PDT 2013


Revision: 110243
          https://trac.macports.org/changeset/110243
Author:   mojca at macports.org
Date:     2013-08-29 00:54:02 -0700 (Thu, 29 Aug 2013)
Log Message:
-----------
poedit: use the new wxWidgets-3.0, drop the variant wxwidgets_devel

Modified Paths:
--------------
    trunk/dports/devel/poedit/Portfile

Modified: trunk/dports/devel/poedit/Portfile
===================================================================
--- trunk/dports/devel/poedit/Portfile	2013-08-29 07:36:51 UTC (rev 110242)
+++ trunk/dports/devel/poedit/Portfile	2013-08-29 07:54:02 UTC (rev 110243)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           wxWidgets 1.0
 
 name                poedit
 version             1.5.5
-revision            1
+revision            2
 categories          devel aqua
 platforms           darwin
 license             MIT
@@ -25,42 +26,26 @@
                     rmd160  cfc402f9eb0f000f068d98364870ac3860c20f57 \
                     sha256  3c94c9825c11a2d1ce10e083ad246e8625469f358da4a5a2f6210170b970f949
 
+wxWidgets.use       wxWidgets-3.0
+
 depends_build       bin:grep:grep \
                     port:pkgconfig \
                     port:boost
-depends_lib         port:wxWidgets \
-                    port:gettext
+depends_lib         port:gettext \
+                    port:${wxWidgets.port}
 
 depends_skip_archcheck grep pkgconfig boost
 
-variant wxwidgets_devel description {Uses wxWidgets-devel (allows 64-bit build)} {
-    depends_lib-delete      port:wxWidgets
-    depends_lib-append      port:wxWidgets-devel
-}
-
-platform darwin 11 {
-    # According to comments in wxWidgets Portfile
-    if {[vercmp $xcodeversion 4.4] >= 0} {
-        default_variants    +wxwidgets_devel
-    }
-}
-
-platform darwin 12 {
-    depends_lib-replace     port:wxWidgets port:wxWidgets30
-}
-
-if {![variant_isset wxwidgets_devel]} {
-    # wxWidgets 2.8 is not universal and is 32-bit only
-    universal_variant       no
-    supported_archs         i386 ppc
-}
-
 # remove some additional features, especially sparkle because macports handles updates
-configure.args      --disable-transmem --disable-spellchecking --without-sparkle
+configure.args      --disable-spellchecking \
+                    --disable-transmem \
+                    --without-sparkle \
+                    --with-wxdir=${wxWidgets.wxdir}
 
 build.dir           ${build.dir}/src
 build.target        bundle
-build.env-append    GETTEXT_PREFIX=${prefix}
+build.env-append    GETTEXT_PREFIX=${prefix} \
+                    WX_ROOT=${wxWidgets.prefix}
 
 destroot {
     # the gettext binaries are copied into Poedit.app during build,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130829/7ae900dd/attachment.html>


More information about the macports-changes mailing list