# $Id$

PortSystem 1.0

name                colm
version             0.13.0.1
categories          lang
platforms           darwin
maintainers         mww
license             LGPL-2.1+
description         programming language for analysis and transformation
long_description    Colm is a programming language designed for the analysis \
                    and transformation of computer languages. Colm is \
                    influenced primarily by TXL. It is in the family of \
                    program transformation languages.

homepage            http://www.colm.net/open-source/colm/
master_sites        http://www.colm.net/files/colm/
checksums           rmd160  aaafc4a52a83dbbbff9cb22eced7a680f99a5fcb \
                    sha256  acacb5acaf42596b631a572ff86b084962d4d5b479fd59d7d0cd5ca9d111ba9e

test.run            yes
test.dir            ${worksrcpath}/test
test.target

post-destroot {
    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
        ${destroot}${prefix}/share/doc/${name}
}

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     {colm-(\d+(?:\.\d+)*).tar.gz}