source: trunk/dports/textproc/xalanc/Portfile @ 4081

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

new port, textproc/xalanc

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.1 2003/11/29 14:39:20 mww Exp $
2
3PortSystem 1.0
4
5name            xalanc
6version         1.6
7categories      textproc
8platforms       darwin freebsd
9maintainers     mww@opendarwin.org
10description     XSLT processor in C++ for transforming XML
11long_description        Xalan is an XSLT processor for transforming XML \
12                        documents into HTML, text, or other XML document \
13                        types.  Xalan-C++ version 1.6 is a robust \
14                        implementation of the W3C Recommendations for XSL \
15                        Transformations (XSLT) and the XML Path Language \
16                        (XPath).
17
18homepage        http://xml.apache.org/xalan-c/
19master_sites    apache:xml
20master_sites.mirror_subdir      /xalan-c/
21distname        Xalan-C_1_6-src
22checksums       md5 583bcfdf055cf4e8cbe7066a244c3169
23
24depends_lib     lib:libxerces:xercesc
25
26configure.dir   ${workpath}/xml-xalan/c/src/xalanc
27configure.env   XALANCROOT='${workpath}/xml-xalan/c' \
28                XERCESCROOT='${prefix}'
29configure.cmd   ./runConfigure
30configure.pre_args -C --prefix=${prefix}
31
32variant darwin  {
33        configure.pre_args-append       -p macosx
34}
35
36variant freebsd {
37        configure.pre_args-append       -p freebsd
38}
39
40build.dir       ${configure.dir}
41build.env       ${configure.env}
42build.type      gnu
43
44pre-destroot    {
45        reinplace "s|PREFIX = ${prefix}|PREFIX = ${destroot}${prefix}|g" \
46                ${configure.dir}/Makefile
47}       
48
49destroot.env    ${configure.env}
Note: See TracBrowser for help on using the repository browser.