# -*- 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               eye
version            1.4.1
categories         science graphics
platforms          darwin
maintainers        nomaintainer
license            CeCILL

description        software for training SExtractor's retina

long_description   Eye stands for Enhance your Extraction: software for \
    training SExtractor's retina. The retina expands the possibility \
    offered by traditional convolution (e.g. matched filtering) to \
    the non-linear domain. A neural network, connected to pixels of a \
    moving window (retina) in one or several input image(s), \
    is trained to associate these stimuli to the corresponding response \
    in one or several model image(s). The resulting filter can \
    then be loaded in SExtractor to operate complex, wildly \
    non-linear filters on astronomical images. Typical applications \
    of this system include adaptive filtering, feature detection and \
    cosmetic corrections.

homepage           http://www.astromatic.net/software/eye/
master_sites       ftp://ftp.iap.fr/pub/from_users/bertin/eye/
checksums          md5 6c8be5b9f1b233343d5b500c2073f58c \
                   sha1 73815581cb93c6c579f4a8c8de88f274890439e9 \
                   rmd160 886d85638f099276d393dd14c841efb41c06d50a

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

universal_variant no

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