Ticket #6744: Portfile.2.diff
File Portfile.2.diff, 2.0 KB (added by andre@…, 19 years ago) |
---|
-
Portfile
old new 8 8 description xmlwrapp is a modern style C++ library for working with XML data 9 9 long_description xmlwrapp is a modern style C++ library for working with XML data. \ 10 10 It provides a simple and easy to use interface for the very \ 11 powerful libxml2 XML parser and the libxslt XSLT engine. 12 homepage http://pmade.org/software/xmlwrapp/ 13 master_sites http://pmade.org/distfiles/oss-releases/ 11 powerful libxml2 XML parser and the libxslt XSLT engine. It used \ 12 to be hosted at pmade.org, but the author no longer wants to support \ 13 his work, so it's now hosted at sourceforge. This Portfile also \ 14 installs libxsltwrapp which is part of the xmlwrapp package. 15 homepage http://sourceforge.net/project/showfiles.php?group_id=142403 16 master_sites sourceforge 17 extract.suffix .tgz 14 18 depends_build bin:perl5:perl5.8 15 19 depends_lib lib:libxml2:libxml2 \ 16 20 bin:xml2-config:libxml2 \ 17 21 lib:libxslt:libxslt \ 18 22 bin:xslt-config:libxslt 19 checksums md5 b8a07e77f8f8af9ca96bccab7d9dd31023 checksums md5 99ba63b283762e749e1663014e5cb0fd 20 24 21 25 patch.pre_args -p1 22 26 patchfiles patch-mkmf … … 26 30 27 31 configure { 28 32 cd ${worksrcpath} 33 29 34 system "perl configure.pl --xml2-config=${prefix}/bin/xml2-config --xslt-config=${prefix}/bin/xslt-config --prefix=${prefix}" 35 30 36 reinplace "s#POST_LDFLAGS=#POST_LDFLAGS=-L${prefix}/lib -lxml2 -lz -lpthread -liconv -lm -lxslt#" src/libxml/Makefile 37 reinplace "s#libxmlwrapp.so#libxmlwrapp.dylib#g" src/libxml/Makefile 38 31 39 reinplace "s#POST_LDFLAGS=#POST_LDFLAGS=-L${prefix}/lib -lxml2 -lz -lpthread -liconv -lm -lxslt -lexslt -L../libxml -lxmlwrapp#" src/libxslt/Makefile 40 reinplace "s#libxsltwrapp.so#libxsltwrapp.dylib#g" src/libxslt/Makefile 32 41 }