Ticket #30208: wxWidgets-2.9.2-Portfile.patch
File wxWidgets-2.9.2-Portfile.patch, 2.5 KB (added by tvb377@…, 13 years ago) |
---|
-
Portfile
old new 5 5 6 6 name wxWidgets-devel 7 7 conflicts wxgtk wxWidgets 8 version 2.9. 19 revision 28 version 2.9.2 9 revision 0 10 10 categories graphics devel 11 11 platforms darwin 12 12 maintainers jwa … … 27 27 28 28 distfiles ${distname}-${version}${extract.suffix} 29 29 dist_subdir ${distname}/${version} 30 checksums md5 81c20d7b2ba31becb18e467dbe09be8f\31 sha1 3ffe0614acce46448f5c14942176fb2daa6efd00\32 rmd160 106f5b0238e31e12bbede7f1c2cf0e0134076e29 33 30 checksums md5 d6cec5bd331ba90b74c1e2fcb0563620 \ 31 sha1 1487a8ed4f48cc1bd0c4d37de9385c8edd1a024b \ 32 rmd160 f6d85672f02d8888bd779f5bcde5e902f0f6339b 33 34 34 depends_lib port:jpeg \ 35 35 port:tiff \ 36 36 port:libpng \ 37 37 port:zlib \ 38 38 port:libiconv \ 39 port:expat \ 40 path:lib/pkgconfig/sdl.pc:libsdl \ 41 port:libsdl_mixer 39 port:expat 42 40 43 41 44 42 archcheck.files lib/libjpeg.dylib \ … … 52 50 53 51 extract.only ${distname}-${version}${extract.suffix} 54 52 55 patch.dir ${worksrcpath}/..56 patchfiles patch-configure-change_install_names.diff57 53 configure.cmd ../configure 58 54 configure.ldflags -L${build.dir}/lib -L${prefix}/lib 59 55 configure.args --mandir=${prefix}/share/man \ … … 64 60 --with-zlib \ 65 61 --with-opengl \ 66 62 --with-cocoa \ 63 --without-sdl \ 67 64 --enable-unicode \ 68 65 --enable-display \ 69 66 --enable-monolithic … … 82 79 ln -sf ${confscript} ${destroot}${prefix}/bin/wx-config 83 80 } 84 81 82 default_variants +sdl 83 85 84 variant nonmonolithic description {build libraries separately} { 86 85 configure.args-delete --enable-monolithic 87 86 } … … 90 89 configure.args-append --enable-debug 91 90 } 92 91 92 variant sdl description {Use SDL for audio on Unix} { 93 depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl 94 depends_lib-append port:libsdl_mixer 95 configure.args-delete --without-sdl 96 configure.args-append --with-sdl 97 } 98 99 variant stdlib description {add support for various standard library features} { 100 configure.args-append --enable-stl \ 101 --enable-std_containers \ 102 --enable-std_iostreams \ 103 --enable-std_string \ 104 --enable-std_string_conv_in_wxstring 105 } 106 93 107 livecheck.type regex 94 108 livecheck.url ${homepage}/downloads/ 95 livecheck.regex Current Stable Release.*(2\\.\[0-9\]\\.\[0-9\]+)109 livecheck.regex Latest Development Release.*(\[2-3\]\\.\[0-9\]\\.\[0-9\]+)