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

Last change on this file since 20487 was 20487, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 20487 2006-11-03 15:39:15Z blair@macports.org $
2
3PortSystem 1.0
4name                    xercesc
5version                 2.7.0
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/xerces-c/source/
17distname                xerces-c-src_2_7_0
18checksums               md5 04169609449a8846bc1e6891c04cadf4
19platforms               darwin
20
21configure.dir           ${worksrcpath}/src/xercesc
22configure.env           XERCESCROOT="${worksrcpath}"
23configure.pre_args      -P "${prefix}"
24configure.cmd           ./runConfigure
25
26build.dir               ${worksrcpath}/src/xercesc
27build.env               ${configure.env}
28build.type              gnu
29
30variant darwin  {
31        configure.pre_args-append       -p macosx -n native
32}
33
34platform darwin 8 {
35        configure.pre_args-append       -c /usr/bin/gcc-4.0 -x /usr/bin/g++-4.0
36}
37
38destroot.env            ${configure.env}
39
40post-destroot   {
41        xinstall -d -m 755 ${destroot}${prefix}/share/doc
42        file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}
43        xinstall -m 644 -W ${worksrcpath} version.incl LICENSE.txt Readme.html \
44                credits.txt ${destroot}${prefix}/share/doc/${name}
45}
Note: See TracBrowser for help on using the repository browser.