# $Id: Portfile 85182 2011-10-10 20:27:15Z snc@macports.org $

PortSystem      1.0
PortGroup       haskell 1.0

haskell.setup   haskell-src-exts 1.6.1
name            ${name}-[join [lrange [split ${version} .] 0 1] .]
license         BSD
platforms       darwin
categories      devel
maintainers     nomaintainer
description     Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer

long_description \
    Haskell-Source with Extensions (HSE, haskell-src-exts) is an extension of \
    the standard haskell-src package, and handles most registered syntactic \
    extensions to Haskell, including: Multi-parameter type classes with \
    functional dependencies, Indexed type families (including associated \
    types), Empty data declarations, GADTs, Implicit parameters Template \
    Haskell and a few more. All extensions implemented in GHC are supported. \
    Apart from these standard extensions, it also handles regular patterns as \
    per the HaRP extension as well as HSX-style embedded XML syntax.

checksums       md5     e6c8ea0ab98e53da620601401f964bd2 \
                sha1    293dea924a6fd017b7003000b0913864e0857545 \
                rmd160  64d640e57bc8f7f94e8321fb210e909a86d346ca

depends_build-append \
    port:cpphs \
    port:hs-platform-happy

configure.args-append \
    --docdir=${prefix}/share/doc/${name}

universal_variant no

livecheck.type none
