[108171] trunk/dports/devel/orbit/Portfile

devans at macports.org devans at macports.org
Sun Jul 14 23:40:00 PDT 2013


Revision: 108171
          https://trac.macports.org/changeset/108171
Author:   devans at macports.org
Date:     2013-07-14 23:40:00 -0700 (Sun, 14 Jul 2013)
Log Message:
-----------
orbit: use gnome livecheck type, whitespace.

Modified Paths:
--------------
    trunk/dports/devel/orbit/Portfile

Modified: trunk/dports/devel/orbit/Portfile
===================================================================
--- trunk/dports/devel/orbit/Portfile	2013-07-15 06:39:45 UTC (rev 108170)
+++ trunk/dports/devel/orbit/Portfile	2013-07-15 06:40:00 UTC (rev 108171)
@@ -4,6 +4,7 @@
 PortSystem      1.0
 
 name            orbit
+set gname       ORBit
 version         0.5.17
 revision        4
 set branch      [join [lrange [split ${version} .] 0 1] .]
@@ -17,16 +18,18 @@
                 from other programs, regardless of the locations of the two \
                 programs.
 homepage        http://orbit-resource.sourceforge.net/
-master_sites    gnome:sources/ORBit/${branch}/
+master_sites    gnome:sources/${gname}/${branch}/
 platforms       darwin
 
-distname        ORBit-${version}
 use_bzip2       yes
 checksums       md5 35acc6f8d49d930b566104fcceb893d3
-depends_lib     port:glib1 port:gettext
 
+distname        ${gname}-${version}
+
 patchfiles      patch-configure patch-m4-underquoted
 
+depends_lib     port:glib1 port:gettext
+
 post-patch {
     fs-traverse item ${worksrcpath} {
         if {"Makefile.in" == [file tail ${item}]} {
@@ -42,9 +45,9 @@
     CFLAGS="-O3 -fstrict-aliasing -funroll-loops" \
     --infodir=${prefix}/share/info
 
-livecheck.type  regex
-livecheck.url   http://ftp.gnome.org/pub/gnome/sources/ORBit/${branch}/
-livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-
 # port:glib1 is not universal
 universal_variant  no
+
+livecheck.type  gnome
+livecheck.name  ${gname}
+livecheck.regex "${gname}-(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130714/7aa0c440/attachment-0001.html>


More information about the macports-changes mailing list