1 | # $Id: Portfile 26898 2007-07-11 05:23:51Z yves@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name xercesc |
---|
5 | version 2.8.0 |
---|
6 | revision 1 |
---|
7 | categories textproc |
---|
8 | maintainers chris.ridd@isode.com |
---|
9 | description an XML parser |
---|
10 | long_description Xerces-C++ is a validating XML parser written in \ |
---|
11 | a portable subset of C++. Xerces-C++ makes it \ |
---|
12 | easy to give your application the ability to read \ |
---|
13 | and write XML data. A shared library is provided \ |
---|
14 | for parsing, generating, manipulating, and \ |
---|
15 | validating XML documents. |
---|
16 | homepage http://xerces.apache.org/xerces-c/ |
---|
17 | master_sites apache:xerces/c/sources/ |
---|
18 | distname xerces-c-src_2_8_0 |
---|
19 | checksums md5 5daf514b73f3e0de9e3fce704387c0d2 |
---|
20 | platforms darwin |
---|
21 | |
---|
22 | configure.dir ${worksrcpath}/src/xercesc |
---|
23 | configure.env XERCESCROOT=${worksrcpath} |
---|
24 | configure.pre_args -P "${prefix}" |
---|
25 | configure.cmd ./runConfigure |
---|
26 | |
---|
27 | build.dir ${worksrcpath}/src/xercesc |
---|
28 | build.env ${configure.env} |
---|
29 | build.type gnu |
---|
30 | |
---|
31 | platform darwin { |
---|
32 | configure.pre_args-append -p macosx -n native |
---|
33 | } |
---|
34 | |
---|
35 | platform darwin 8 { |
---|
36 | configure.pre_args-append -c /usr/bin/gcc-4.0 -x /usr/bin/g++-4.0 |
---|
37 | } |
---|
38 | |
---|
39 | destroot.env ${configure.env} |
---|
40 | |
---|
41 | post-destroot { |
---|
42 | xinstall -d -m 755 ${destroot}${prefix}/share/doc |
---|
43 | file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name} |
---|
44 | xinstall -m 644 -W ${worksrcpath} version.incl LICENSE.txt Readme.html \ |
---|
45 | credits.txt ${destroot}${prefix}/share/doc/${name} |
---|
46 | } |
---|