[49799] trunk/dports/gnome/gnome-system-monitor/Portfile
devans at macports.org
devans at macports.org
Sat Apr 18 02:51:35 PDT 2009
Revision: 49799
http://trac.macports.org/changeset/49799
Author: devans at macports.org
Date: 2009-04-18 02:51:35 -0700 (Sat, 18 Apr 2009)
Log Message:
-----------
gnome-system-monitor: fix livecheck, add mode line.
Modified Paths:
--------------
trunk/dports/gnome/gnome-system-monitor/Portfile
Modified: trunk/dports/gnome/gnome-system-monitor/Portfile
===================================================================
--- trunk/dports/gnome/gnome-system-monitor/Portfile 2009-04-18 09:46:23 UTC (rev 49798)
+++ trunk/dports/gnome/gnome-system-monitor/Portfile 2009-04-18 09:51:35 UTC (rev 49799)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -4,6 +5,7 @@
name gnome-system-monitor
version 2.24.1
+set branch [join [lrange [split ${version} .] 0 1] .]
description A system monitor.
long_description A nicer, simpler, easier to use replacement to gtop. \
It uses libgtop for the process monitoring and \
@@ -12,7 +14,7 @@
categories gnome
platforms darwin
homepage http://www.gnome.org/
-master_sites gnome:sources/gnome-system-monitor/[join [lrange [split ${version} .] 0 1] .]/
+master_sites gnome:sources/${name}/${branch}/
checksums md5 f28977135e37a78442f5df05b796480c \
sha1 e1b8fba8c4482faf8234d27b0f8d10004072060c
depends_lib \
@@ -42,3 +44,8 @@
post-activate {
system "scrollkeeper-update"
}
+
+livecheck.check regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090418/60a7b25f/attachment.html>
More information about the macports-changes
mailing list