1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 93567 2012-05-27 06:31:50Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | |
---|
7 | name zorba |
---|
8 | version 2.5.0 |
---|
9 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
10 | license Apache-2 |
---|
11 | categories textproc devel |
---|
12 | platforms darwin |
---|
13 | maintainers nomaintainer |
---|
14 | description The XQuery Processor |
---|
15 | |
---|
16 | long_description \ |
---|
17 | Zorba is a general purpose XQuery processor implementing in C++ the W3C \ |
---|
18 | family of specifications. It is not an XML database. The query processor \ |
---|
19 | has been designed to be embeddable in a variety of environments such as \ |
---|
20 | other programming languages extended with XML processing capabilities, \ |
---|
21 | browsers, database servers, XML message dispatchers, or smartphones. Its \ |
---|
22 | architecture employes a modular design, which allows customizing the Zorba \ |
---|
23 | query processor to the environment’s needs. In particular the architecture \ |
---|
24 | of the query processor allows a pluggable XML store (e.g. main memory, DOM \ |
---|
25 | stores, persistent disk-based large stores, S3 stores). |
---|
26 | |
---|
27 | homepage http://www.zorba-xquery.com/ |
---|
28 | master_sites https://launchpad.net/zorba/trunk/${branch}/+download |
---|
29 | distfiles ${distname}.gz |
---|
30 | |
---|
31 | checksums rmd160 473f9a76e1b9cd33e72a326a7c3c43a43de148a1 \ |
---|
32 | sha256 3b6abfe7c393e472a5abe3e3fa0c95261a94a4dfb317ad29a632d1a374baf8ba |
---|
33 | |
---|
34 | # In-source-builds are not allowed |
---|
35 | configure.dir ${worksrcpath}/build |
---|
36 | configure.compiler macports-clang-3.1 |
---|
37 | |
---|
38 | build.dir ${configure.dir} |
---|
39 | |
---|
40 | post-extract { |
---|
41 | xinstall -d ${build.dir} |
---|
42 | } |
---|
43 | |
---|
44 | patchfiles patch-docdir.diff \ |
---|
45 | patch-src-types-schema-SchemaValidatorFilter.h.diff \ |
---|
46 | patch-test-rbkt-testdriver_mt.cpp.diff |
---|
47 | |
---|
48 | depends_build-append \ |
---|
49 | port:bison \ |
---|
50 | port:flex \ |
---|
51 | port:clang-3.1 |
---|
52 | |
---|
53 | depends_lib \ |
---|
54 | port:boost \ |
---|
55 | port:curl \ |
---|
56 | port:icu \ |
---|
57 | port:libiconv \ |
---|
58 | port:libxml2 \ |
---|
59 | port:libxslt \ |
---|
60 | port:xercesc3 \ |
---|
61 | port:tidy |
---|
62 | |
---|
63 | configure.post_args .. |
---|
64 | configure.args-append \ |
---|
65 | -DCURL_FOUND=YES \ |
---|
66 | -DCURL_INCLUDE_DIR=${prefix}/include \ |
---|
67 | -DCURL_LIBRARY=${prefix}/lib/libcurl.dylib \ |
---|
68 | -DZORBA_SUPPRESS_SWIG=YES \ |
---|
69 | -DZORBA_XQUERYX=YES |
---|
70 | |
---|
71 | test.env DYLD_LIBRARY_PATH=${worksrcpath}/src |
---|
72 | test.run yes |
---|
73 | |
---|
74 | livecheck.type regex |
---|
75 | livecheck.url https://launchpad.net/zorba/+download |
---|
76 | livecheck.regex zorba-(\[0-9.\]+)${extract.suffix} |
---|