Ticket #17984: wbxml2-0.10.1.patch
File wbxml2-0.10.1.patch, 2.1 KB (added by brunofr@…, 16 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 28571 2007-09-03 20:57:11Z mww@macports.org $ 2 2 PortSystem 1.0 3 3 name wbxml2 4 version 0. 9.04 version 0.10.1 5 5 categories textproc devel 6 6 maintainers glasser@mit.edu 7 7 description converts between XML and Wireless Binary XML (WBXML) 8 8 long_description ${description} 9 homepage http://libwbxml. aymerick.com/9 homepage http://libwbxml.opensync.org/ 10 10 11 11 master_sites sourceforge 12 master_sites.mirror_subdir wbxmllib12 master_sites.mirror_subdir libwbxml 13 13 14 distfiles ${name}-${version}-src.tar.gz15 checksums md5 3f9b5bf104ec523b8eebe69f93919ded14 distfiles libwbxml-${version}.tar.gz 15 checksums md5 10d65c41ac70d970009c5400d7732828 16 16 17 depends_lib lib:libexpat:expat bin:glibtoolize:libtool 17 depends_lib lib:libexpat:expat 18 depends_build port:cmake 18 19 19 use_automake yes 20 automake.args --add-missing 21 22 use_autoconf yes 20 use_parallel_build yes 21 worksrcdir build 22 pre-configure { file mkdir ${worksrcpath} } 23 24 configure.cmd cmake 25 configure.ccache no 26 configure.args ../libwbxml-${version} -DBUILD_SHARED_LIBS=ON \ 27 -DCMAKE_VERBOSE_MAKEFILE=ON \ 28 -DCMAKE_BUILD_TYPE=Release \ 29 -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \ 30 -DCMAKE_INSTALL_PREFIX=${prefix} \ 31 -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \ 32 -DCMAKE_OSX_SYSROOT=${universal_sysroot} \ 33 -Wno-dev 34 35 variant universal { 36 configure.universal_args-delete --disable-dependency-tracking 37 configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure. 38 universal_archs} "g| |;|"]\" 39 } 23 40 24 pre-configure { 25 cd ${worksrcpath} 26 system "glibtoolize" 27 system "aclocal" 28 system "autoheader" 41 variant debug description "Enable debug binaries" { 42 configure.args-delete -DCMAKE_BUILD_TYPE=Release 43 configure.args-append -DCMAKE_BUILD_TYPE=debugFull 29 44 }