# -*- 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
PortGroup           haskell_stack 1.0

name                pxsl-tools
version             1.0.1
revision            5
categories          textproc xml
maintainers         {snc @nerdling} openmaintainer
license             GPL-2
description         A convenient shorthand for writing markup-heavy XML \
                    documents.
long_description    PXSL ("pixel") is a convenient shorthand for writing \
                    markup-heavy XML documents. It provides XML authors and \
                    programmers with a simple, concise syntax that they can \
                    use to create XML documents. For more advanced users, PXSL \
                    offers customizable shortcuts and sophisticated \
                    refactoring tools like functional macros that can markedly \
                    reduce the size and complexity of markup-dense XML \
                    documents.

platforms           darwin freebsd

homepage            https://github.com/tmoertel/pxsl-tools
master_sites        http://hackage.haskell.org/package/pxsl-tools

checksums           rmd160  aff14de679d39e669418983879c8c2345fc8a0c9 \
                    sha256  dc311c012b0b6b482cdd26337f44cff8259269d3dd83f482ab4049965fa085e0 \
                    size    45096

pre-build {
    system -W ${workpath} \
        "${prefix}/bin/stack init --stack-root [option haskell_stack.stack_root] \
        --with-gcc ${configure.cc} \
        --allow-different-user \
        [haskell_stack.system_ghc_flags]"
}
