[111726] trunk/dports/graphics/unpaper/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Sep 30 02:08:00 PDT 2013


Revision: 111726
          https://trac.macports.org/changeset/111726
Author:   ryandesign at macports.org
Date:     2013-09-30 02:07:59 -0700 (Mon, 30 Sep 2013)
Log Message:
-----------
unpaper: update to 5.1, switch to Flameeyes fork on github (#40629)

Modified Paths:
--------------
    trunk/dports/graphics/unpaper/Portfile

Modified: trunk/dports/graphics/unpaper/Portfile
===================================================================
--- trunk/dports/graphics/unpaper/Portfile	2013-09-30 07:42:36 UTC (rev 111725)
+++ trunk/dports/graphics/unpaper/Portfile	2013-09-30 09:07:59 UTC (rev 111726)
@@ -1,33 +1,32 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
-name                unpaper
-version             0.3
+github.setup        Flameeyes unpaper 5.1 unpaper-
 categories          graphics
 maintainers         nomaintainer
-license             GPL
+license             GPL-2+
+
 description         Post-processing scanned and photocopied book pages
 long_description    unpaper is a post-processing tool for scanned sheets of paper, especially for book pages that have been scanned from previously created photocopies. \
                     The main purpose is to make scanned book pages better readable on screen after conversion to PDF. \
                     Additionally, unpaper might be useful to enhance the quality of scanned pages before performing optical character recognition (OCR).
-homepage            http://unpaper.berlios.de/
 platforms           darwin
-master_sites        http://download.berlios.de/unpaper/
 
-checksums           md5     be41eaf8556e7df39ab53939c99c4f7b \
-                    sha1    120eee7c635eeb8ea75431c2dfba89bd8c132493 \
-                    rmd160  f67a41ae4f80ba74fd7193674340d518d4bbc89f
+homepage            https://www.flameeyes.eu/projects/unpaper
 
-configure.cflags-append -lm
-configure.cflags-append -o ${name}
+checksums           rmd160  4fb03da9d256cb18bfa77217ac238afe673a6292 \
+                    sha256  2296a7e1ff7ad1d8964c61a8ce88d2aaddfe5cd7a118eac230d159f8aae6dcb9
 
-use_configure       no
+depends_build       port:libxslt \
+                    port:netpbm
 
-build.target        src/unpaper.c
-build.args          ${configure.cflags}
-build.cmd           ${configure.cc}
+depends_run         port:netpbm
 
-destroot {
-    xinstall -m 555 ${worksrcpath}/${name} ${destroot}${prefix}/bin
-}
+# tarball does not include configure script
+# https://github.com/Flameeyes/unpaper/issues/17
+use_autoreconf      yes
+
+configure.args      --disable-silent-rules
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130930/fc799a6f/attachment-0001.html>


More information about the macports-changes mailing list