source: trunk/dports/textproc/xercesc/Portfile @ 7183

Last change on this file since 7183 was 6468, checked in by mww, 16 years ago

Bug: #1731
Submitted by: sandy@…
Reviewed by: chris.ridd@…
Approved by: mww@

version bump to 2.5.0

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.7 2004/04/15 14:59:35 mww Exp $
2PortSystem 1.0
3name                    xercesc
4version                 2.5.0
5categories              textproc
6maintainers             chris.ridd@isode.com
7description             an XML parser
8long_description        Xerces-C++ is a validating XML parser written in \
9                        a portable subset of C++.  Xerces-C++ makes it \
10                        easy to give your application the ability to read \
11                        and write XML data.  A shared library is provided \
12                        for parsing, generating, manipulating, and \
13                        validating XML documents.
14homepage                http://xml.apache.org/xerces-c/
15master_sites            apache:xml/xerces-c/
16distname                xerces-c-src_2_5_0
17checksums               md5 e7ff7d007fabfa7e3fc8c75a8007b0b1
18platforms               darwin freebsd
19
20worksrcdir              xerces-c-src_2_5_0
21
22configure.dir           ${worksrcpath}/src/xercesc
23configure.env           XERCESCROOT="${worksrcpath}"
24configure.pre_args      -P "${prefix}"
25configure.cmd           ./runConfigure
26
27variant darwin  {
28        configure.pre_args-append       -p macosx -n native
29}
30
31variant freebsd {
32        configure.pre_args-append       -p freebsd
33}
34
35build.dir               ${worksrcpath}/src/xercesc
36build.env               ${configure.env}
37build.type              gnu
38
39destroot.env            ${configure.env}
40
41post-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}
Note: See TracBrowser for help on using the repository browser.