1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name scantailor |
---|
6 | version 0.9.9.2 |
---|
7 | revision 1 |
---|
8 | categories aqua graphics |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | |
---|
12 | description Scan Tailor is an interactive post-processing tool for scanned pages. |
---|
13 | long_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 | |
---|
17 | homepage http://scantailor.sourceforge.net/ |
---|
18 | distname scantailor-${version} |
---|
19 | master_sites sourceforge |
---|
20 | |
---|
21 | depends_lib port:boost \ |
---|
22 | port:xrender \ |
---|
23 | port:qt4-mac-devel |
---|
24 | depends_build bin:cmake:cmake |
---|
25 | |
---|
26 | checksums md5 0944b12c936019fe12269c7a356d60d0 \ |
---|
27 | sha1 7bdd390a32355685af53160aa5b9bd3b280a0c1a \ |
---|
28 | rmd160 39286377d1b328286c8c35543fb97c1a5695bf73 |
---|
29 | |
---|
30 | configure.cmd cmake |
---|
31 | |
---|
32 | configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} |
---|
33 | |
---|
34 | configure.args -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake \ |
---|
35 | -G \"Unix Makefiles\" . |
---|
36 | |
---|
37 | post-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 |
---|