[41246] trunk/dports/devel/libsigcxx2/Portfile

devans at macports.org devans at macports.org
Wed Oct 29 01:24:17 PDT 2008


Revision: 41246
          http://trac.macports.org/changeset/41246
Author:   devans at macports.org
Date:     2008-10-29 01:24:16 -0700 (Wed, 29 Oct 2008)
Log Message:
-----------
libsigcxx2: add mode line and fix livecheck.

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

Modified: trunk/dports/devel/libsigcxx2/Portfile
===================================================================
--- trunk/dports/devel/libsigcxx2/Portfile	2008-10-29 08:19:11 UTC (rev 41245)
+++ trunk/dports/devel/libsigcxx2/Portfile	2008-10-29 08:24:16 UTC (rev 41246)
@@ -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
@@ -5,6 +6,7 @@
 name            libsigcxx2
 set my_name     libsigc++
 version         2.2.3
+set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      devel
 platforms       darwin
 maintainers     nomaintainer
@@ -16,7 +18,7 @@
     static or virtual.
 
 homepage        http://libsigc.sourceforge.net/
-master_sites    gnome:sources/libsigc++/2.2/
+master_sites    gnome:sources/libsigc++/${branch}/
 distname        libsigc++-${version}
 use_bzip2       yes
 
@@ -45,6 +47,6 @@
 }
 
 livecheck.check regex
-livecheck.url   http://ftp.gnome.org/pub/GNOME/sources/${my_name}/2.0/?C=M&O=D
+livecheck.url   http://ftp.gnome.org/pub/GNOME/sources/${my_name}/${branch}/?C=M&O=D
 livecheck.regex {libsigc\+\+-(\d+(?:\.\d+)*)}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081029/2e91a9f2/attachment.html>


More information about the macports-changes mailing list