# -*- 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                haskell-stan
version             0.1.0.1
revision            0
categories          devel haskell
maintainers         nomaintainer
license             MPL-2

description         Haskell STatic ANalyser

long_description    Stan is a Haskell STatic ANalysis tool.

homepage            https://github.com/kowainik/stan

distname            stan-${version}
master_sites        https://hackage.haskell.org/package/${distname}

checksums           rmd160  2f8be5870e27144c9abd770902d2e5eaa457d741 \
                    sha256  cf7ee89e22487cb2b6c71b0121639dd518fdd77d494a09c7cad2ae96a4999ab8 \
                    size    86665

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

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

    build.target    all
}
