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

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

revision bump to '1' (was missing in last commit)

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.4 2003/12/09 06:29:58 mww Exp $
2PortSystem 1.0
3name                    xercesc
4version                 2.3.0
5revision                1
6categories              textproc
7maintainers             chris.ridd@isode.com
8description             an XML parser
9long_description        Xerces-C++ is a validating XML parser written in \
10                        a portable subset of C++.  Xerces-C++ makes it \
11                        easy to give your application the ability to read \
12                        and write XML data.  A shared library is provided \
13                        for parsing, generating, manipulating, and \
14                        validating XML documents.
15homepage                http://xml.apache.org/xerces-c/
16master_sites            apache:xml
17master_sites.mirror_subdir      /xerces-c/
18distname                xerces-c-src_2_3_0
19checksums               md5 5167dca8942dd2dd719fa5a8ebe0c18b
20platforms               darwin freebsd
21configure.dir           ${worksrcpath}/src/xercesc
22configure.env           XERCESCROOT="${worksrcpath}"
23configure.pre_args      -P "${prefix}"
24configure.cmd           ./runConfigure
25
26variant darwin  {
27        configure.pre_args-append       -p macosx -n native
28}
29
30variant freebsd {
31        configure.pre_args-append       -p freebsd
32}
33
34build.dir               ${worksrcpath}/src/xercesc
35build.env               ${configure.env}
36build.type              gnu
37destroot.env            ${configure.env}
38
39post-destroot   {
40        file mkdir ${destroot}${prefix}/share/doc
41        file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}
42        file copy ${worksrcpath}/version.incl ${worksrcpath}/LICENSE \
43                ${worksrcpath}/LICENSE.txt ${worksrcpath}/Readme.html \
44                ${worksrcpath}/STATUS ${worksrcpath}/credits.txt \
45                ${destroot}${prefix}/share/doc/${name}
46}
Note: See TracBrowser for help on using the repository browser.