# $Id: Portfile 54700 2009-07-31 21:15:47Z ryandesign@macports.org $

PortSystem		1.0
name            	ale
version         	0.8.7

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     	nomaintainer
master_sites		http://auricle.dyndns.org/ALE/download/:ale \
			http://auricle.dyndns.org/ALE/bugs/:alepatch
distfiles		ale-${version}.tar.gz:ale 

extract.only		ale-${version}.tar.gz 
worksrcdir		ale-${version}
checksums		ale-${version}.tar.gz md5 d9e9aaf7896cfa74e8d75159e1ee2817

depends_lib		lib:Magick:ImageMagick 

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}
}
