[53633] trunk/dports/graphics/xsane/Portfile

devans at macports.org devans at macports.org
Fri Jul 10 12:06:20 PDT 2009


Revision: 53633
          http://trac.macports.org/changeset/53633
Author:   devans at macports.org
Date:     2009-07-10 12:06:20 -0700 (Fri, 10 Jul 2009)
Log Message:
-----------
xsane: update master_sites, fix livecheck, add mode line, lint.

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

Modified: trunk/dports/graphics/xsane/Portfile
===================================================================
--- trunk/dports/graphics/xsane/Portfile	2009-07-10 18:53:14 UTC (rev 53632)
+++ trunk/dports/graphics/xsane/Portfile	2009-07-10 19:06:20 UTC (rev 53633)
@@ -1,6 +1,8 @@
+# -*- 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
+
 name            xsane
 version         0.996
 revision        1
@@ -13,9 +15,7 @@
 long_description This is an X11 frontend for the Scanner Access Now Easy \
                  Project.
 
-master_sites    http://www.xsane.org/download/ \
-                http://www.xsane.org/download/old/ \
-                http://gd.tuwien.ac.at/hci/sane/xsane/ \
+master_sites    http://gd.tuwien.ac.at/hci/sane/xsane/ \
                 ftp://ftp.sane-project.org/pub/sane/xsane/ \
                 ftp://ftp3.sane-project.org/pub/sane/xsane/ \
                 ftp://gd.tuwien.ac.at/hci/sane/xsane/ \
@@ -46,7 +46,11 @@
     }
 }
 
-variant disable_gimp {
+variant disable_gimp description {Disable building of GIMP plugin} {
     depends_lib-delete      lib:libgimp-2.0:gimp2
     configure.args-append   --disable-gimp
 }
+
+livecheck.check regex
+livecheck.url   ftp://ftp.sane-project.org/pub/sane/xsane/
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090710/26b62351/attachment.html>


More information about the macports-changes mailing list