# -*- 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

PortSystem      1.0

name            xqilla
version         2.3.4
revision        2
checksums       rmd160  f5acecac25473a481371115e83f3d20550c185ee \
                sha256  292631791631fe2e7eb9727377335063a48f12611d641d0296697e0c075902eb \
                size    15439591

license         Apache-2
categories      textproc devel
maintainers     gmx.com:arjen
description     XQuery and XPath 2 library and command line utility

long_description \
    XQilla is an XQuery and XPath 2 library and command line utility \
    written in C++, implemented on top of the Xerces-C library.

homepage        http://xqilla.sourceforge.net/HomePage
master_sites    sourceforge:project/${name}
distname        XQilla-${version}

depends_lib \
    port:xercesc3 \
    port:tidy

patchfiles      patch-src-functions-FunctionParseHTML.cpp.diff

configure.cppflags  -isystem${prefix}/include

configure.args \
      --with-xerces=${prefix} \
      --with-tidy=${prefix}
