source: trunk/dports/textproc/zorba/Portfile @ 135232

Last change on this file since 135232 was 135232, checked in by ryandesign@…, 5 years ago

icu: update to 55.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
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 135232 2015-04-20 00:15:39Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       cmake 1.0
6
7name            zorba
8version         3.0
9revision        3
10set branch      [join [lrange [split ${version} .] 0 1] .]
11license         Apache-2
12categories      textproc devel
13platforms       darwin
14maintainers     nomaintainer
15description     The XQuery Processor
16
17long_description \
18    Zorba is a general purpose XQuery processor implementing in C++ the W3C \
19    family of specifications. It is not an XML database. The query processor \
20    has been designed to be embeddable in a variety of environments such as \
21    other programming languages extended with XML processing capabilities, \
22    browsers, database servers, XML message dispatchers, or smartphones. Its \
23    architecture employes a modular design, which allows customizing the Zorba \
24    query processor to the environments needs. In particular the architecture \
25    of the query processor allows a pluggable XML store (e.g. main memory, DOM \
26    stores, persistent disk-based large stores, S3 stores).
27
28homepage        http://www.zorba-xquery.com/
29master_sites    https://launchpad.net/zorba/trunk/${branch}/+download
30distfiles       ${name}-${version}${extract.suffix} \
31                ${name}_modules-${version}${extract.suffix}
32
33checksums       ${name}-${version}${extract.suffix} \
34                    rmd160  f6add7764e6c538c76f538fa3e2cc226ba36a6f7 \
35                    sha256  8ae73ce11ed522d40f20dc2d7c907176ee5dd9e26bde5a40b8a02dbca9558dfe \
36                ${name}_modules-${version}${extract.suffix} \
37                    rmd160  fb9cac7f26cf0351b7a73f279002d0cda09fdd66 \
38                    sha256  5fc68381f2ffde43f705010b2055df7067a8d8740815805750ab73b602a1957d
39
40# In-source builds are not allowed
41configure.dir   ${worksrcpath}/build
42
43build.dir       ${configure.dir}
44
45post-extract {
46    xinstall -d ${build.dir}
47}
48
49patchfiles      patch-src-types-schema-SchemaValidatorFilter.h.diff
50patchfiles-append   patch-bison-3.0.diff
51
52depends_lib \
53    port:boost \
54    port:curl \
55    port:fop \
56    port:geos \
57    port:icu \
58    port:libarchive \
59    port:libiconv \
60    port:libxml2 \
61    port:libxslt \
62    port:sqlite3 \
63    port:tidy \
64    port:xercesc3
65
66# External modules not installed:
67#   port:ImageMagick    - image         skip this, creates too big .mpkg files
68#                       - schema-tools  xmlbeans port not available
69#                       - read-pdf      fontbox port not available
70#   port:cclient        - email         breaks zorba build
71
72# Dependencies for external modules
73#    port:cclient       - email
74#    port:geos          - geo
75#    port:libarchive    - archive
76#    port:libxslt       - language/xslt
77#    port:fop           - xsl-fo
78
79configure.post_args ${worksrcpath}
80configure.args-append \
81    -DCURL_FOUND=YES \
82    -DCURL_INCLUDE_DIR=${prefix}/include \
83    -DCURL_LIBRARY=${prefix}/lib/libcurl.dylib \
84    -DZORBA_SUPPRESS_SWIG=YES \
85    -DZORBA_XQUERYX=YES
86
87test.env DYLD_LIBRARY_PATH=${worksrcpath}/src
88test.run yes
89
90livecheck.type  regex
91livecheck.url   https://launchpad.net/zorba/+download
92livecheck.regex zorba-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.