Ticket #16783: patch-glade-Portfile.diff

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

Patch for Portfile

  • 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 38752 2008-07-30 07:16:27Z ryandesign@macports.org $
    23
    34PortSystem 1.0
    45
    56name            glade
    67version         2.12.2
     8set branch      [join [lrange [split ${version} .] 0 1] .]
     9revision        1
    710description     Glade is a free user interface builder for GTK+ and GNOME.
    811long_description        Glade is a free user interface builder for GTK+ \
    912                        and GNOME. It is released under the GNU General \
     
    1215categories      devel gnome
    1316platforms       darwin
    1417homepage        http://glade.gnome.org/
    15 master_sites    gnome:sources/glade/2.12/
     18master_sites    gnome:sources/${name}/${branch}/
    1619use_bzip2       yes
    1720checksums       sha1 a43d89b147296244ba4b2efc67e8772d5155afff
    18        
    19 depends_lib \
    20         bin:automake-1.7:automake bin:autoconf:autoconf \
    21         lib:libiconv.2:libiconv lib:libgail-gnome:libgail-gnome \
    22         lib:libXft.2.1.2:Xft2 port:freetype lib:libaudiofile:audiofile \
    23         lib:libesd:esound port:fontconfig port:gnome-keyring lib:libpng:libpng \
    24         lib:libatk-1.0:atk bin:gconftool-2:gconf lib:libgettextlib:gettext \
    25         path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 lib:libgnomevfs-2:gnome-vfs lib:libgtk-x11-2.0:gtk2 \
    26         lib:libgnomecanvas-2:libgnomecanvas lib:libart_lgpl_2:libart_lgpl \
    27         lib:libbonobo-2:libbonobo lib:libbonoboui-2:libbonoboui \
    28         lib:libgnome-2:libgnome lib:libgnomeui-2:libgnomeui \
    29         bin:orbit-idl-2:orbit2 port:libxml2 bin:perl:perl5.8 port:tiff \
    30         path:${prefix}/lib/pkgconfig/pango.pc:pango bin:pkg-config:pkgconfig port:rarian \
    31         port:xrender port:zlib
    3221
     22patchfiles    \
     23        patch-glade-gbwidgets-gbclist.c.diff \
     24        patch-glade-glade_menu_editor.c.diff \
     25        patch-glade-glade_keys_dialog.c.diff \
     26        patch-glade-glade_project_view.h.diff
     27
     28depends_build \
     29        port:pkgconfig \
     30        port:gettext \
     31        port:rarian \
     32        port:gconf
     33               
     34depends_lib \
     35        port:gtk2 \
     36        port:libxml2 \
     37        port:libgnomecanvas \
     38        port:libgnomeui \
     39        port:libbonoboui \
     40        port:libgail-gnome
     41 
    3342configure.cppflags-append "-L${prefix}/lib"
    3443
    3544configure.args  --disable-gnome-db
     
    4251
    4352variant gnomedb description {Enable GNOME DB support} {
    4453        configure.args-delete --disable-gnome-db
    45         depends_lib-append lib:libgnomedb:libgnomedb
     54        depends_lib-append port:libgnomedb
    4655}
    4756
     57livecheck.check regex
     58livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
     59livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}