1 | # $Id: Portfile,v 1.2 2004/02/14 05:34:18 pguyot Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name ale |
---|
5 | version 0.7.1 |
---|
6 | revision 1 |
---|
7 | |
---|
8 | description antilamenessing engine |
---|
9 | long_description ALE is a free software program that renders \ |
---|
10 | high-fidelity images of real scenes by aligning \ |
---|
11 | and combining many similar images from a camera \ |
---|
12 | or scanner. The correct similarity between images \ |
---|
13 | is roughly that achieved by a somewhat unsteady \ |
---|
14 | hand holding a camera. |
---|
15 | homepage http://auricle.dyndns.org/ALE/ |
---|
16 | platforms darwin |
---|
17 | categories graphics |
---|
18 | maintainers shadow@dementia.org |
---|
19 | master_sites http://auricle.dyndns.org/ALE/download/:ale \ |
---|
20 | http://auricle.dyndns.org/ALE/bugs/:alepatch |
---|
21 | distfiles ale-${version}.tar.gz:ale \ |
---|
22 | ale-${version}.patch1:alepatch \ |
---|
23 | ale-${version}.patch2:alepatch |
---|
24 | |
---|
25 | configure {} |
---|
26 | extract.only ale-${version}.tar.gz |
---|
27 | worksrcdir ale-${version} |
---|
28 | checksums ale-${version}.tar.gz md5 90b39eed7e03afbee8ff071762bca78b \ |
---|
29 | ale-${version}.patch1 md5 7f22fc0f2d5cd0f4943df285684704b1 \ |
---|
30 | ale-${version}.patch2 md5 c99d2346c13ccf367d308779b41984fd |
---|
31 | |
---|
32 | pre-patch { |
---|
33 | # Additional patches for rtems. |
---|
34 | system "cd ${workpath}/ale-${version} && \ |
---|
35 | patch -p1 < ${distpath}/ale-${version}.patch1" |
---|
36 | system "cd ${workpath}/ale-${version} && \ |
---|
37 | patch -p1 < ${distpath}/ale-${version}.patch2" |
---|
38 | } |
---|
39 | |
---|
40 | depends_lib lib:Magick:ImageMagick |
---|
41 | |
---|
42 | build.args IMAGEMAGICK=1 |
---|
43 | |
---|
44 | destroot { |
---|
45 | xinstall -m 755 -d ${destroot}${prefix}/bin |
---|
46 | xinstall -s -m 755 ${worksrcpath}/ale ${destroot}${prefix}/bin/ |
---|
47 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
48 | xinstall -m 644 -W ${worksrcpath} ChangeLog COPYING README \ |
---|
49 | ${destroot}${prefix}/share/doc/${name} |
---|
50 | } |
---|