source: trunk/dports/devel/arabica/Portfile

Last change on this file was 146574, checked in by ryandesign@…, 21 months ago

arabica: fix syntax errors in noboost and expat variants

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
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
4PortSystem          1.0
5
6name                arabica
7version             Oct2007
8categories          devel textproc
9maintainers         hypergene.com:isak
10description         Arabica, an XML toolkit written in C++
11long_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.
16homepage            http://www.jezuk.co.uk/arabica
17platforms           darwin
18master_sites        sourceforge
19
20checksums           md5 026ac9690fca1843e35d382ce3df1077 \
21                    sha1 9d6eb1e0532af58c2f15beaff531817b7f062f29 \
22                    rmd160 da311611120d8b60670ea7f38171f4ac96a2368f
23
24depends_lib         port:libxml2 \
25                    port:boost
26
27configure.args      --with-parser=libxml2 \
28                    --with-libxml2=${prefix} \
29                    --with-boost=${prefix}
30
31patchfiles          patch-Makefile.in.diff
32
33variant noboost {
34    depends_lib-delete      port:boost
35    configure.args-replace  --with-boost=${prefix} --with-boost=no
36}
37
38variant 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}
Note: See TracBrowser for help on using the repository browser.