Ticket #20702: wbxml2.patch
File wbxml2.patch, 2.2 KB (added by jeremy.laine@…, 15 years ago) |
---|
-
wbxml2/files/patch-src-cmakelists.diff
1 --- src/CMakeLists.txt 2009-05-12 13:43:09.000000000 +0200 2 +++ src/CMakeLists.txt 2009-08-18 16:30:13.000000000 +0200 3 @@ -25,6 +25,7 @@ 4 5 SET_TARGET_PROPERTIES( wbxml2 PROPERTIES SOVERSION ${LIBWBXML_LIBVERSION_SOVERSION} ) 6 SET_TARGET_PROPERTIES( wbxml2 PROPERTIES VERSION ${LIBWBXML_LIBVERSION_VERSION} ) 7 +SET_TARGET_PROPERTIES( wbxml2 PROPERTIES INSTALL_NAME_DIR ${LIBWBXML_LIBRARIES_DIR} ) 8 TARGET_LINK_LIBRARIES( wbxml2 ${EXPAT_LIBRARIES} ) 9 10 INSTALL( TARGETS wbxml2 -
wbxml2/Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup cmake 1.0 5 6 6 7 name wbxml2 7 version 0. 9.08 version 0.10.7 8 9 categories textproc devel 9 10 platforms darwin 10 11 maintainers nomaintainer 11 12 description converts between XML and Wireless Binary XML (WBXML) 12 13 long_description ${description} 13 homepage http ://libwbxml.aymerick.com/14 homepage https://libwbxml.opensync.org/ 14 15 15 master_sites sourceforge: wbxmllib16 master_sites sourceforge:libwbxml 16 17 17 distfiles ${name}-${version}-src.tar.gz 18 checksums md5 3f9b5bf104ec523b8eebe69f93919ded 18 distname libwbxml-${version} 19 checksums md5 ef3e66df3c4223ce5ce0a70ded5c5221 \ 20 sha1 dac2d5452973c17e75517ae4eff42601091f852e \ 21 rmd160 e0389673eace78c8b02c79ff4eacd717dd7db70e 22 patchfiles patch-src-cmakelists.diff 19 23 20 depends_lib port:expat21 depends_build port:autoconf port:automake port:libtool24 depends_lib port:expat 25 depends_build port:cmake 22 26 23 use_autoreconf yes 27 configure.dir ${worksrcpath}/build 28 build.dir ${configure.dir} 29 30 pre-configure { file mkdir ${configure.dir} } 31 32 configure { system "cd ${configure.dir} && cmake ${configure.args} ${worksrcpath}" } 33 configure.args -DCMAKE_INSTALL_PREFIX:PATH=${prefix}