Ticket #16047: patch-glade3-Portfile.diff

File patch-glade3-Portfile.diff, 1.2 KB (added by dbevans (David B. Evans), 16 years ago)

Portfile patch

  • Portfile

    old new  
     1# -*- 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
    12# $Id: Portfile 36798 2008-05-14 23:57:43Z raimue@macports.org $
    23
    34PortSystem 1.0
    45
    56name            glade3
    67version         3.4.5
     8set branch      [join [lrange [split ${version} .] 0 1] .]
    79description     Glade is a free user interface builder for GTK+ and GNOME.
    810long_description    Glade is a free user interface builder for GTK+ \
    911                    and GNOME. It is released under the GNU General \
     
    1214categories      devel gnome
    1315platforms       darwin
    1416homepage        http://glade.gnome.org/
    15 master_sites    gnome:sources/glade3/3.4/
     17master_sites    gnome:sources/glade3/${branch}/
    1618use_bzip2       yes
    1719checksums       md5 39924af2e97f55f0a159f930ee4acb1c \
    1820                sha1 6f6e144a07edd0446f031bc40abcde8e9437c7f6 \
     
    4042        depends_lib-delete port:libgnomeui
    4143}
    4244
     45livecheck.check regex
     46livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
     47livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
     48