1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 146574 2016-03-12 13:22:01Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name arabica |
---|
7 | version Oct2007 |
---|
8 | categories devel textproc |
---|
9 | maintainers hypergene.com:isak |
---|
10 | description Arabica, an XML toolkit written in C++ |
---|
11 | long_description Arabica has a full SAX2 implementation. Layered on SAX is a DOM Level 2.0 implementation, \ |
---|
12 | together with an XPath engine and partial XSLT implementation. It delivers UTF-8 encoded std::strings \ |
---|
13 | or UCS-2 std::wstrings, but can also accommodate custom string types and alternative encodings. It \ |
---|
14 | provides uniform SAX2 wrappers for the Expat parser, Xerces, Libxml2 and (on Windows) for the \ |
---|
15 | Microsoft XML parser COM component. |
---|
16 | homepage http://www.jezuk.co.uk/arabica |
---|
17 | platforms darwin |
---|
18 | master_sites sourceforge |
---|
19 | |
---|
20 | checksums md5 026ac9690fca1843e35d382ce3df1077 \ |
---|
21 | sha1 9d6eb1e0532af58c2f15beaff531817b7f062f29 \ |
---|
22 | rmd160 da311611120d8b60670ea7f38171f4ac96a2368f |
---|
23 | |
---|
24 | depends_lib port:libxml2 \ |
---|
25 | port:boost |
---|
26 | |
---|
27 | configure.args --with-parser=libxml2 \ |
---|
28 | --with-libxml2=${prefix} \ |
---|
29 | --with-boost=${prefix} |
---|
30 | |
---|
31 | patchfiles patch-Makefile.in.diff |
---|
32 | |
---|
33 | variant noboost { |
---|
34 | depends_lib-delete port:boost |
---|
35 | configure.args-replace --with-boost=${prefix} --with-boost=no |
---|
36 | } |
---|
37 | |
---|
38 | variant expat { |
---|
39 | depends_lib-replace port:libxml2 port:expat |
---|
40 | configure.args-replace --with-parser=libxml2 --with-parser=expat |
---|
41 | configure.args-replace --with-libxml2=${prefix} --with-expat=${prefix} |
---|
42 | } |
---|