1 | # $Id: Portfile,v 1.3 2004/01/18 03:24:47 toby Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name xalanc |
---|
6 | version 1.7.0 |
---|
7 | categories textproc |
---|
8 | platforms darwin freebsd |
---|
9 | maintainers mww@opendarwin.org |
---|
10 | description XSLT processor in C++ for transforming XML |
---|
11 | long_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 | |
---|
18 | homepage http://xml.apache.org/xalan-c/ |
---|
19 | master_sites apache:xml/xalan-c/ |
---|
20 | distname Xalan-C_1_7_0-src |
---|
21 | checksums md5 911a952fb1cccc0d97b54ff32b9a52f7 |
---|
22 | |
---|
23 | depends_lib lib:libxerces:xercesc |
---|
24 | |
---|
25 | configure.dir ${workpath}/xml-xalan/c |
---|
26 | configure.env XALANCROOT='${workpath}/xml-xalan/c' \ |
---|
27 | XERCESCROOT='${prefix}' |
---|
28 | configure.cmd ./runConfigure |
---|
29 | configure.pre_args -C --prefix=${prefix} |
---|
30 | |
---|
31 | variant darwin { |
---|
32 | configure.pre_args-append -p macosx |
---|
33 | } |
---|
34 | |
---|
35 | variant freebsd { |
---|
36 | configure.pre_args-append -p freebsd |
---|
37 | } |
---|
38 | |
---|
39 | build.dir ${configure.dir} |
---|
40 | build.env ${configure.env} |
---|
41 | build.type gnu |
---|
42 | |
---|
43 | pre-destroot { |
---|
44 | reinplace "s|PREFIX = ${prefix}|PREFIX = ${destroot}${prefix}|g" \ |
---|
45 | ${configure.dir}/Makefile |
---|
46 | } |
---|
47 | |
---|
48 | destroot.env ${configure.env} |
---|