# -*- 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                ale
version             0.8.11.2
revision            0
categories          graphics
maintainers         nomaintainer
license             GPL-2+

description         Antilamenessing engine

long_description    ALE is a free software program that renders high-fidelity \
                    images of real scenes by aligning and combining many \
                    similar images from a camera or scanner. The correct \
                    similarity between images is roughly that achieved \
                    by a somewhat unsteady hand holding a camera.

homepage            https://web.archive.org/web/20110924072405/http://auricle.dyndns.org/ALE
master_sites        https://web.archive.org/web/20110928172053if_/http://auricle.dyndns.org/ALE/download/
checksums           rmd160  f0aaec53befb5e9650fbd9fd2b77828d57b68833 \
                    sha256  bedea6f0d14b149b0b2419626182b7840a66f8bfa715ffddfd72dd57b125eefa \
                    size    1373375

depends_build       path:bin/pkg-config:pkgconfig

depends_lib         port:fftw-3 \
                    port:ImageMagick

depends_run         port:dcraw \
                    port:exiftool

patchfiles          configure.patch

configure.args      --with-fftw3 \
                    --with-imagemagick

post-destroot {
    set docdir ${prefix}/share/doc/${subport}
    xinstall -m 0755 -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} ChangeLog COPYING README ${destroot}${docdir}
}
