Ticket #24157: Portfile

File Portfile, 1.4 KB (added by cristiano.fontana@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                unpaper
6version             0.3
7revision            1
8categories          graphics
9maintainers         pd.infn.it:cristiano.fontana
10license             GPL
11description         Post-processing scanned and photocopied book pages
12long_description    unpaper is a post-processing tool for scanned sheets of paper, especially for book pages that have been scanned from previously created photocopies. \
13                    The main purpose is to make scanned book pages better readable on screen after conversion to PDF. \
14                    Additionally, unpaper might be useful to enhance the quality of scanned pages before performing optical character recognition (OCR).
15homepage            http://unpaper.berlios.de/
16platforms           darwin
17extract.suffix      .tgz
18distfiles           ${name}-bin-${version}.tar.gz
19master_sites        http://download.berlios.de/unpaper/
20
21checksums           md5     0748137e67fa5796474716a096a82723 \
22                    sha1    d51ef993ca865d3ce0fa02cc45f599c8945edd7f \
23                    rmd160  65437743abc41e9e975ddd4db8cf4947d9e63484
24
25configure.cflags-append -lm
26configure.cflags-append -o ${name}
27
28use_configure       no
29
30build.target        src/unpaper.c
31build.args          ${configure.cflags}
32build.cmd           ${configure.compiler}
33
34destroot {
35    xinstall -m 555 ${worksrcpath}/${name} ${destroot}${prefix}/bin
36}