On Jun 25, 2009, at 18:32, [email protected] wrote:

Revision: 52939
          http://trac.macports.org/changeset/52939
Author:   [email protected]
Date:     2009-06-25 16:32:54 -0700 (Thu, 25 Jun 2009)
Log Message:
-----------
nfoview: fix livecheck.

You also perhaps inadvertently updated the version to 1.5, but didn't change the checksums, so now:


$ port checksum nfoview
--->  Fetching nfoview
---> Attempting to fetch nfoview-1.5.tar.bz2 from http:// download.gna.org/nfoview/1.5/
--->  Verifying checksum(s) for nfoview
Error: Checksum (md5) mismatch for nfoview-1.5.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Status 1 encountered during processing.
$


The checksums for 1.1 were correct before this change.


Modified Paths:
--------------
    trunk/dports/gnome/nfoview/Portfile

Modified: trunk/dports/gnome/nfoview/Portfile
===================================================================
--- trunk/dports/gnome/nfoview/Portfile 2009-06-25 23:23:58 UTC (rev 52938) +++ trunk/dports/gnome/nfoview/Portfile 2009-06-25 23:32:54 UTC (rev 52939)
@@ -4,7 +4,7 @@
 PortGroup       python25 1.0

 name            nfoview
-version         1.1
+version         1.5
 categories      gnome
 maintainers     nomaintainer
 description     Simple viewer for NFO files
@@ -15,7 +15,7 @@
                 clickable hyperlinks.
 homepage        http://home.gna.org/nfoview/
 platforms       darwin
-master_sites    http://download.gna.org/nfoview/1.1/
+master_sites    http://download.gna.org/nfoview/${version}/
 use_bzip2       yes
 checksums       md5 07edd3f0a8e631778739f8f4a7a3b9fc
 depends_lib     port:gettext \
@@ -23,3 +23,7 @@
                 port:py25-gtk \
                 port:terminus-font \
                 port:shared-mime-info
+
+livecheck.check regex
+livecheck.url  http://download.gna.org/nfoview/
+livecheck.regex {>(\d+(?:\.\d+)*)/<}



_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to