# -*- 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                HaXml
version             1.25.13
revision            0
categories          devel
license             LGPL-2.1
maintainers         nomaintainer

description         XML utilities for haskell
long_description    HaXml is a collection of utilities for parsing, \
                    filtering, transforming, and generating XML \
                    documents using Haskell. Its basic facilities \
                    include: a parser for XML, a separate \
                    error-correcting parser for HTML, an XML \
                    validator, and pretty-printers for XML and HTML.

homepage            https://github.com/HaXml/HaXml

checksums           rmd160  370429d09761915339f196115ffbacfc9926a04c \
                    sha256  5d855449bddef93703d2759626558c3202fbedb4a6deaa7f9659da6557bab373 \
                    size    147978

installs_libs       no

variant stack \
    description {Use stack to build.} {}

if { [variant_isset "stack"] } {
    PortGroup       haskell_stack 1.0
} else {
    PortGroup       haskell_cabal 1.0

    build.target-append \
                    --allow-newer
}
