Portfile

# $Id: Portfile 20308 2006-11-01 21:23:28Z blair@macports.org $

PortSystem 1.0
name ale
version 0.8.0

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 http://auricle.dyndns.org/ALE/
platforms darwin
categories graphics
maintainers shadow@dementia.org
master_sites http://auricle.dyndns.org/ALE/download/:ale \
http://auricle.dyndns.org/ALE/bugs/:alepatch
distfiles ale-${version}.tar.gz:ale

configure {}
extract.only ale-${version}.tar.gz
worksrcdir ale-${version}
checksums ale-${version}.tar.gz md5 83e66e080e35ce99d332e9067ab5d19a

depends_lib lib:Magick:ImageMagick

build.args IMAGEMAGICK=1

destroot {
xinstall -m 755 -d ${destroot}${prefix}/bin
xinstall -s -m 755 ${worksrcpath}/ale ${destroot}${prefix}/bin/
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} Changelog COPYING README \
${destroot}${prefix}/share/doc/${name}
}