Ticket #28177: Portfile

File Portfile, 1.6 KB (added by koen@…, 13 years ago)

scantailor Portfile

Line 
1# $Id$
2
3PortSystem              1.0
4
5name                    scantailor
6version                 0.9.9.2
7revision                1
8categories              aqua graphics
9platforms               darwin
10maintainers             nomaintainer
11
12description             Scan Tailor is an interactive post-processing tool for scanned pages.
13long_description        Scan Tailor is an interactive post-processing tool for scanned pages. \
14                        It performs operations such as page splitting, deskewing, adding/removing borders, and others. \
15                        You give it raw scans, and you get pages ready to be printed or assembled into a PDF or DJVU file.
16
17homepage    http://scantailor.sourceforge.net/
18distname    scantailor-${version}
19master_sites    sourceforge
20
21depends_lib   port:boost \
22              port:xrender \
23              port:qt4-mac-devel
24depends_build bin:cmake:cmake
25
26checksums   md5  0944b12c936019fe12269c7a356d60d0 \
27        sha1  7bdd390a32355685af53160aa5b9bd3b280a0c1a \
28        rmd160  39286377d1b328286c8c35543fb97c1a5695bf73
29
30configure.cmd       cmake
31
32configure.pre_args  -DCMAKE_INSTALL_PREFIX=${prefix}
33
34configure.args      -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake \
35                    -G \"Unix Makefiles\" .
36
37post-destroot {
38              system "cd ${worksrcpath} && sh ./packaging/osx/makeapp.sh ${worksrcpath} ${worksrcpath} ${worksrcpath}"
39              file rename ${worksrcpath}/ScanTailor.app ${applications_dir}/ScanTailor.app
40              ui_msg "ScanTailor has been installed to ${applications_dir}"
41              ui_msg "Double click ScanTailor.app to start using it."
42              }
43
44#not truncated