Ticket #35339: zorba.diff

File zorba.diff, 2.6 KB (added by cezar.andrei@…, 12 years ago)

diff to upgrade to Zorba 2.8

  • Portfile

    old new  
    11# -*- 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 98344 2012-10-03 03:05:15Z ryandesign@macports.org $
     2# $Id: Portfile 93567 2012-05-27 06:31:50Z ryandesign@macports.org $
    33
    44PortSystem      1.0
    55PortGroup       cmake 1.0
    66
    77name            zorba
    8 version         2.2.0
    9 revision        1
     8version         2.8.0
     9revision        3
    1010set branch      [join [lrange [split ${version} .] 0 1] .]
    1111license         Apache-2
    1212categories      textproc devel
     
    2828homepage        http://www.zorba-xquery.com/
    2929master_sites    https://launchpad.net/zorba/trunk/${branch}/+download
    3030
    31 checksums       rmd160  976147777830a883d6a459b818a67d3279540045 \
    32                 sha256  124929aa0dbf2ec444667c83067b5b27921d8f8043dbdde83674b981c6fb244e
     31distfiles   ${name}-${version}.tar.gz \
     32            ${name}_modules-src-${version}.tar.gz
     33
     34checksums           ${name}-${version}.tar.gz \
     35                        rmd160  b4a6b7f8ad5a82c32e3ffdbc84ba67e4cbe90fb1 \
     36                        sha256  3c1494aa28effc2682b74d646b4a18b8a87626af31b94427bcc326d0c07db1b8 \
     37                    ${name}_modules-src-${version}.tar.gz \
     38                        rmd160  8cb52ecd47d1f5725a047f08e1af31cf7cf69256 \
     39                        sha256  18e8343203fb35ff29630f988a81142fb1e0bb0ff48b15729172e7883de79127
     40
    3341
    3442# In-source-builds are not allowed
    3543configure.dir   ${worksrcpath}/build
     44
    3645build.dir       ${configure.dir}
    3746
    3847post-extract {
    3948    xinstall -d ${build.dir}
    4049}
    4150
    42 patchfiles      patch-docdir.diff \
    43                 patch-src-types-schema-SchemaValidatorFilter.h.diff
     51patchfiles      patch-src-types-schema-SchemaValidatorFilter.h.diff
    4452
    45 depends_build-append \
    46     port:bison \
    47     port:flex
     53# flex and bison are not required, it's actually descuraged to use them
     54#depends_build-append \
     55#    port:bison \
     56#    port:flex
    4857
    4958depends_lib \
    5059    port:boost \
    5160    port:curl \
     61    port:fop \
     62    port:geos \
    5263    port:icu \
    5364    port:libiconv \
    5465    port:libxml2 \
    5566    port:libxslt \
     67    port:sqlite3 \
     68    port:tidy \
    5669    port:xercesc3 \
    57     port:tidy
     70    port:libarchive
     71   
    5872
    5973configure.post_args ..
    6074configure.args-append \
     
    6276    -DCURL_INCLUDE_DIR=${prefix}/include \
    6377    -DCURL_LIBRARY=${prefix}/lib/libcurl.dylib \
    6478    -DZORBA_SUPPRESS_SWIG=YES \
    65     -DZORBA_XQUERYX=YES
     79    -DZORBA_XQUERYX=YES 
    6680
    6781test.env DYLD_LIBRARY_PATH=${worksrcpath}/src
    6882test.run yes