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

haskell.setup       cpphs 1.17
revision            3
checksums           rmd160  03298c36f135d7bff36d9ff3c3090fc566d4d1cf \
                    sha256  fd4bfa35592db6456d0b59218df49e24efb60fc87d7a919f9a6d9a50e10fa706

license             LGPL
platforms           darwin
maintainers         nomaintainer

description         A liberalised re-implementation of cpp, the C pre-processor.
long_description    \
    Cpphs is a re-implementation of the C pre-processor that is both more \
    compatible with Haskell, and itself written in Haskell so that it can be \
    distributed with compilers.

pre-activate {
    # deactivate hack added 2013-06-09
    if {![catch {set installed [lindex [registry_active cpphs] 0]}]} {
        # this port used to be named cpphs
        registry_deactivate_composite cpphs "" [list ports_nodepcheck 1]
    }
}