Changeset 79389
- Timestamp:
- 06/12/11 06:15:01 (4 years ago)
- Location:
- trunk/dports/graphics/wxWidgets-devel
- Files:
-
- 1 added
- 1 deleted
- 1 edited
-
Portfile (modified) (3 diffs)
-
files/patch-configure-change_install_names.diff (added)
-
files/patch-textctrl.diff (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/wxWidgets-devel/Portfile
r75159 r79389 2 2 3 3 PortSystem 1.0 4 PortGroup archcheck 1.0 4 5 5 6 name wxWidgets-devel 7 conflicts wxgtk wxWidgets 6 8 version 2.9.1 7 revision 19 revision 2 8 10 categories graphics devel 9 11 platforms darwin … … 19 21 homepage http://www.wxwidgets.org/ 20 22 distname wxWidgets 21 master_sites http://biolpc22.york.ac.uk/pub/CVS_HEAD/v2/files/\22 http://biolpc22.york.ac.uk/pub/${version}/ \ 23 ftp://ftp.wxwidgets.org/pub/${version} 23 master_sites sourceforge:wxwindows \ 24 http://biolpc22.york.ac.uk/pub/${version}/ 25 24 26 use_bzip2 yes 25 27 26 28 distfiles ${distname}-${version}${extract.suffix} 27 29 dist_subdir ${distname}/${version} 30 checksums md5 81c20d7b2ba31becb18e467dbe09be8f \ 31 sha1 3ffe0614acce46448f5c14942176fb2daa6efd00 \ 32 rmd160 106f5b0238e31e12bbede7f1c2cf0e0134076e29 33 34 depends_lib port:jpeg \ 35 port:tiff \ 36 port:libpng \ 37 port:zlib \ 38 port:libiconv \ 39 port:expat \ 40 path:lib/pkgconfig/sdl.pc:libsdl \ 41 port:libsdl_mixer 28 42 29 checksums ${distname}-${version}${extract.suffix} \30 md5 81c20d7b2ba31becb18e467dbe09be8f \31 ${distname}-${version}${extract.suffix} \32 sha1 3ffe0614acce46448f5c14942176fb2daa6efd00 \33 ${distname}-${version}${extract.suffix} \34 rmd160 106f5b0238e31e12bbede7f1c2cf0e0134076e2935 43 36 depends_lib port:jpeg \ 37 port:tiff \ 38 port:libpng \ 39 port:zlib \ 40 port:libiconv \ 41 port:expat \ 42 path:lib/pkgconfig/sdl.pc:libsdl \ 43 port:libsdl_mixer 44 archcheck.files lib/libjpeg.dylib \ 45 lib/libtiff.dylib \ 46 lib/libpng.dylib \ 47 lib/libz.dylib \ 48 lib/libiconv.dylib \ 49 lib/libexpat.dylib 44 50 45 #set worksrcdir build 46 set worksrcdir ${distname}-${version}/build 51 set worksrcdir ${distname}-${version}/build 47 52 48 extract.only ${distname}-${version}${extract.suffix}53 extract.only ${distname}-${version}${extract.suffix} 49 54 50 set sub wx-devel 51 configure.cmd ../configure 55 patch.dir ${worksrcpath}/.. 56 patchfiles patch-configure-change_install_names.diff 57 configure.cmd ../configure 52 58 configure.ldflags -L${build.dir}/lib -L${prefix}/lib 53 configure.args --mandir=${prefix}/share/man \ 54 --libdir=${prefix}/lib/${sub} \ 55 --bindir=${prefix}/lib/${sub}/bin \ 56 --includedir=${prefix}/include/${sub} \ 57 --datadir=${prefix}/share/${sub} \ 58 --with-libiconv-prefix=${prefix} \ 59 --with-libjpeg \ 60 --with-libtiff \ 61 --with-libpng \ 62 --with-zlib \ 63 --with-sdl \ 64 --with-opengl \ 65 --with-mac \ 66 --disable-sdltest \ 67 --enable-unicode \ 68 --enable-display \ 69 --enable-monolithic \ 70 --with-macosx-version-min=${macosx_deployment_target} 71 if {$build_arch == "x86_64" || $build_arch == "ppc64"} { 72 # default carbon won't work on 64-bit 73 configure.args-delete --with-mac 74 configure.args-append --with-osx_cocoa 75 # patchfiles-append patch-textctrl.diff 76 } 77 78 set installtype release 79 #set contrib "gizmos stc ogl" 59 configure.args --mandir=${prefix}/share/man \ 60 --with-libiconv-prefix=${prefix} \ 61 --with-libjpeg \ 62 --with-libtiff \ 63 --with-libpng \ 64 --with-zlib \ 65 --with-opengl \ 66 --with-cocoa \ 67 --enable-unicode \ 68 --enable-display \ 69 --enable-monolithic 80 70 81 71 build.target 82 72 83 #post-build { 84 # foreach c { ${contrib} } { 85 # system "cd ${build.dir} && make -C contrib/src/${c}" 86 # } 87 #} 73 universal_variant no 74 use_parallel_build yes 75 76 supported_archs x86_64 ppc64 i386 ppc 77 configure.ccache = no 78 configure.cppflags-append -arch ${configure.build_arch} 88 79 89 80 post-destroot { 90 # foreach c { ${contrib} } { 91 # system "cd ${destroot.dir} && make -C contrib/src/${c} install ${destroot.destdir}" 92 # } 93 xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} 94 # xinstall -m 644 -W ${workpath}/${distname}-${version} \ 95 # install-mac.txt install-mgl.txt install-motif.txt \ 96 # INSTALL-OS2.txt install-x11.txt readme-cocoa.txt \ 97 # readme-gtk.txt readme-mac.txt \ 98 # readme-mgl.txt readme-motif.txt readme-x11.txt \ 99 # ${destroot}${prefix}/share/doc/${name} 100 # if {$build_arch == "x86_64" || $build_arch == "ppc64"} { 101 # reinplace "s|-L${build.dir}/lib||" ${destroot}${prefix}/lib/${sub}/wx/config/osx_cocoa-unicode-${installtype}-2.9 102 # } else { 103 # reinplace "s|-L${build.dir}/lib||" ${destroot}${prefix}/lib/${sub}/wx/config/osx_carbon-unicode-${installtype}-2.9 104 # } 81 set confscript ${prefix}/lib/wx/config/osx_cocoa-unicode-2.9 82 ln -sf ${confscript} ${destroot}${prefix}/bin/wx-config 105 83 } 106 84 … … 111 89 variant debug description {add debug info to libraries} { 112 90 configure.args-append --enable-debug 113 set installtype debug114 91 } 115 92 116 93 livecheck.type regex 117 livecheck.url http://biolpc22.york.ac.uk/pub/118 livecheck.regex (2.\[0-9\]+.\[0-9a-z.-\]+)/94 livecheck.url ${homepage}/downloads/ 95 livecheck.regex Current Stable Release.*(2\\.\[0-9\]\\.\[0-9\]+)
Note: See TracChangeset
for help on using the changeset viewer.

