Revision
148274
Author
raphael@macports.org
Date
2016-05-02 10:36:16 -0700 (Mon, 02 May 2016)

Log Message

scantailor: update to version 0.9.12.2 and use the GitHub portgroup (closes #46888 and #51293)

Modified Paths

Removed Paths

Diff

Modified: trunk/dports/graphics/scantailor/Portfile (148273 => 148274)


--- trunk/dports/graphics/scantailor/Portfile	2016-05-02 16:05:50 UTC (rev 148273)
+++ trunk/dports/graphics/scantailor/Portfile	2016-05-02 17:36:16 UTC (rev 148274)
@@ -2,18 +2,18 @@
 # $Id$
 
 PortSystem                      1.0
+PortGroup                       github 1.0
 PortGroup                       cmake 1.0
 PortGroup                       qt4 1.0
 
-name                            scantailor
-version                         0.9.11.1
-revision                        5
+github.setup                    scantailor scantailor 0_9_12_2 RELEASE_
+version                         0.9.12.2
 platforms                       darwin
 maintainers                     raphael openmaintainer
 license                         GPL-3+
 categories                      graphics aqua
 description                     An interactive post-processing tool for scanned pages
-homepage                        http://${name}.sourceforge.net/
+homepage                        http://scantailor.org/
 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 \
@@ -28,15 +28,9 @@
                                 port:boost \
                                 port:xrender
 
-master_sites                    sourceforge:project/scantailor/scantailor/${version}
+checksums                       rmd160  aaa4f74933966ad409b3eda8e2356cb093353eaa \
+                                sha256  2ceace773af4770f1cc753a8ba21e875db1ec17c3ffd98efbf48aefee3ef417d
 
-checksums                       rmd160  43958c567bffe17bda2af4873f7beb0b71b77ab4 \
-                                sha256  881647a4172c55a067a7b6687965441cf21176d79d93075b22a373ea9accd8d3
-
-patchfiles \
-    0001-Compatibility-with-clang-compiler.patch
-patch.pre_args -p1
-
 post-patch {
     reinplace "s|@VERSION@|${version}|" ${worksrcpath}/packaging/osx/Info.plist.in
 }
@@ -61,5 +55,3 @@
                                     GPL3.txt \
                                     ${docdir}
 }
-
-livecheck.type                  sourceforge