[80856] trunk/dports/graphics/wxWidgets-devel/Portfile

jwa at macports.org jwa at macports.org
Tue Jul 19 00:08:45 PDT 2011


Revision: 80856
          http://trac.macports.org/changeset/80856
Author:   jwa at macports.org
Date:     2011-07-19 00:08:43 -0700 (Tue, 19 Jul 2011)
Log Message:
-----------
added default variant sdl, closes ticket #30208

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

Modified: trunk/dports/graphics/wxWidgets-devel/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets-devel/Portfile	2011-07-19 06:28:38 UTC (rev 80855)
+++ trunk/dports/graphics/wxWidgets-devel/Portfile	2011-07-19 07:08:43 UTC (rev 80856)
@@ -6,6 +6,7 @@
 name			wxWidgets-devel
 conflicts		wxgtk wxWidgets
 version			2.9.2
+revision		1
 
 categories		graphics devel
 platforms		darwin
@@ -37,11 +38,8 @@
 			    port:libpng \
 			    port:zlib \
 			    port:libiconv \
-			    port:expat \
-			    path:lib/pkgconfig/sdl.pc:libsdl \
-			    port:libsdl_mixer
+			    port:expat
 
-
 archcheck.files lib/libjpeg.dylib \
                 lib/libtiff.dylib \
                 lib/libpng.dylib \
@@ -65,6 +63,7 @@
 			    --with-zlib \
 			    --with-opengl \
 			    --with-cocoa \
+    			    --without-sdl \
 			    --enable-unicode \
 			    --enable-display
 
@@ -82,6 +81,8 @@
     ln -sf ${confscript} ${destroot}${prefix}/bin/wx-config
 }
 
+default_variants	+sdl
+
 variant monolithic description {build only one library} {
     configure.args-append	--enable-monolithic
 }
@@ -90,6 +91,21 @@
     configure.args-append	--enable-debug
 }
 
+variant sdl description {Use SDL for audio on Unix} { 
+    depends_lib-append          path:lib/pkgconfig/sdl.pc:libsdl 
+    depends_lib-append          port:libsdl_mixer 
+    configure.args-delete       --without-sdl 
+    configure.args-append       --with-sdl 
+} 
+	 
+variant stdlib description {add support for various standard library features} { 
+    configure.args-append       --enable-stl \ 
+    --enable-std_containers \ 
+    --enable-std_iostreams \ 
+    --enable-std_string \ 
+    --enable-std_string_conv_in_wxstring 
+} 
+
 livecheck.type		regex
 livecheck.url		${homepage}/downloads/
 livecheck.regex		Latest Development Release.*(2\\.\[0-9\]\\.\[0-9\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110719/64179d59/attachment.html>


More information about the macports-changes mailing list