1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name xmlwrapp |
---|
5 | version 0.5.0 |
---|
6 | categories devel |
---|
7 | maintainers andre@splunk.com |
---|
8 | description xmlwrapp is a modern style C++ library for working with XML data |
---|
9 | long_description xmlwrapp is a modern style C++ library for working with XML data. \ |
---|
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/ |
---|
14 | depends_build bin:perl5:perl5.8 |
---|
15 | depends_lib lib:libxml2:libxml2 \ |
---|
16 | bin:xml2-config:libxml2 \ |
---|
17 | lib:libxslt:libxslt \ |
---|
18 | bin:xslt-config:libxslt |
---|
19 | checksums xmlwrapp-0.5.0.tar.gz md5 b8a07e77f8f8af9ca96bccab7d9dd310 |
---|
20 | |
---|
21 | patch.pre_args -p1 |
---|
22 | patchfiles patch-mkmf |
---|
23 | |
---|
24 | configure.env \ |
---|
25 | CPPFLAGS="-I${prefix}/include -I${prefix}/include/libxml2" |
---|
26 | |
---|
27 | configure { |
---|
28 | cd ${worksrcpath} |
---|
29 | system "perl configure.pl --xml2-config=${prefix}/bin/xml2-config --xslt-config=${prefix}/bin/xslt-config --prefix=${prefix}" |
---|
30 | reinplace "s#POST_LDFLAGS=#POST_LDFLAGS=-L${prefix}/lib -lxml2 -lz -lpthread -liconv -lm -lxslt#" ${worksrcpath}/src/libxml/Makefile |
---|
31 | reinplace "s#POST_LDFLAGS=#POST_LDFLAGS=-L${prefix}/lib -lxml2 -lz -lpthread -liconv -lm -lxslt -lexslt -L../libxml -lxmlwrapp#" ${worksrcpath}/src/libxslt/Makefile |
---|
32 | } |
---|