# -*- 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                stuff
version             1.26.0
categories          science
platforms           darwin
maintainers         gmail.com:Deil.Christoph {aronnax @lpsinger} openmaintainer
license             GPL-3+

description         Generates artifical astronomical source catalogs
long_description    Stuff is a program that generates artificial but \
    realistic catalogs of astronomical sources. These catalogs can be loaded \
    in SkyMaker to generate image simulations.


homepage            http://www.astromatic.net/software/stuff/
master_sites        http://www.astromatic.net/download/stuff/
checksums           md5     df7884d80257836f5e40d1b5654ec9b1 \
                    sha1    53a9c860f1b7a44fec9aacdd8f6d404bf4bcde95 \
                    rmd160  2ce1674727027deb1e23e4820574ca4e312be9d1

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -m 755 -d ${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        README \
        AUTHORS \
        COPYRIGHT \
        ChangeLog \
        BUGS \
        HISTORY \
        THANKS \
        ${docdir}
}

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
