# $Id: Portfile 79389 2011-06-12 13:15:01Z pixilla@macports.org $ PortSystem 1.0 PortGroup archcheck 1.0 name wxWidgets-devel conflicts wxgtk wxWidgets version 2.9.1 revision 2 categories graphics devel platforms darwin maintainers jwa description mature cross-platform C++ GUI framework long_description wxWidgets is a mature open-source cross-platform C++ \ GUI framework for Mac OS, Unix, Linux, Windows. It can \ make use of a variety of native widget sets as well as \ its own widget set: Mac OS, GTK+, Motif, WIN32. \ wxWidgets will even run on embedded systems using \ Linux and X11. homepage http://www.wxwidgets.org/ distname wxWidgets master_sites sourceforge:wxwindows \ http://biolpc22.york.ac.uk/pub/${version}/ use_bzip2 yes distfiles ${distname}-${version}${extract.suffix} dist_subdir ${distname}/${version} checksums md5 81c20d7b2ba31becb18e467dbe09be8f \ sha1 3ffe0614acce46448f5c14942176fb2daa6efd00 \ rmd160 106f5b0238e31e12bbede7f1c2cf0e0134076e29 depends_lib port:jpeg \ port:tiff \ port:libpng \ port:zlib \ port:libiconv \ port:expat \ path:lib/pkgconfig/sdl.pc:libsdl \ port:libsdl_mixer archcheck.files lib/libjpeg.dylib \ lib/libtiff.dylib \ lib/libpng.dylib \ lib/libz.dylib \ lib/libiconv.dylib \ lib/libexpat.dylib set worksrcdir ${distname}-${version}/build extract.only ${distname}-${version}${extract.suffix} patch.dir ${worksrcpath}/.. patchfiles patch-configure-change_install_names.diff configure.cmd ../configure configure.ldflags -L${build.dir}/lib -L${prefix}/lib configure.args --mandir=${prefix}/share/man \ --with-libiconv-prefix=${prefix} \ --with-libjpeg \ --with-libtiff \ --with-libpng \ --with-zlib \ --with-opengl \ --with-cocoa \ --enable-unicode \ --enable-display \ --enable-monolithic build.target universal_variant no use_parallel_build yes supported_archs x86_64 ppc64 i386 ppc configure.ccache = no configure.cppflags-append -arch ${configure.build_arch} post-destroot { set confscript ${prefix}/lib/wx/config/osx_cocoa-unicode-2.9 ln -sf ${confscript} ${destroot}${prefix}/bin/wx-config } variant nonmonolithic description {build libraries separately} { configure.args-delete --enable-monolithic } variant debug description {add debug info to libraries} { configure.args-append --enable-debug } livecheck.type regex livecheck.url ${homepage}/downloads/ livecheck.regex Current Stable Release.*(2\\.\[0-9\]\\.\[0-9\]+)