# $Id$ PortSystem 1.0 name scantailor version 0.9.9.2 revision 1 categories aqua graphics platforms darwin maintainers nomaintainer description Scan Tailor is an interactive post-processing tool for scanned pages. long_description Scan Tailor is an interactive post-processing tool for scanned pages. \ It performs operations such as page splitting, deskewing, adding/removing borders, and others. \ You give it raw scans, and you get pages ready to be printed or assembled into a PDF or DJVU file. homepage http://scantailor.sourceforge.net/ distname scantailor-${version} master_sites sourceforge depends_lib port:boost \ port:xrender \ port:qt4-mac-devel depends_build bin:cmake:cmake checksums md5 0944b12c936019fe12269c7a356d60d0 \ sha1 7bdd390a32355685af53160aa5b9bd3b280a0c1a \ rmd160 39286377d1b328286c8c35543fb97c1a5695bf73 configure.cmd cmake configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} configure.args -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake \ -G \"Unix Makefiles\" . post-destroot { system "cd ${worksrcpath} && sh ./packaging/osx/makeapp.sh ${worksrcpath} ${worksrcpath} ${worksrcpath}" file rename ${worksrcpath}/ScanTailor.app ${applications_dir}/ScanTailor.app ui_msg "ScanTailor has been installed to ${applications_dir}" ui_msg "Double click ScanTailor.app to start using it." } #not truncated