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