# -*- 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 name libglade2 set my_name libglade version 2.6.3 set branch [join [lrange [split ${version} .] 0 1] .] categories gnome maintainers nomaintainer platforms darwin description GNOME glade library. long_description \ A library that allows you to load GLADE interfaces \ at runtime (you don't have to generate stubs with \ GLADE before hand). This way you can change the \ look of your application without recompiling. \ This way you can write the logic behind the \ interface separately from the code to build the \ interface, so changing the interface is not so \ much of a problem. homepage http://www.gnome.org/ master_sites gnome:sources/${my_name}/${branch}/ distname ${my_name}-${version} use_bzip2 yes checksums \ md5 1c359860b1a0f369f0b6e3f96fd985c2 \ sha1 0af8b3263f241d4495243282e64b9aa43fecb618 \ rmd160 73b00932c5a5ea1dfa25b2677783f5e52202ce8e post-patch { reinplace -E "/^install-data-am:/s/install-data-local//" ${worksrcpath}/Makefile.in } depends_build \ port:pkgconfig depends_lib \ port:gettext \ port:fontconfig \ port:libxml2 \ port:gtk2 configure.args --disable-gtktest \ --with-xml-catalog=${prefix}/etc/xml/catalog use_parallel_build yes test.run yes test.target check post-activate { system "xmlcatalog --create --noout --add system http://glade.gnome.org/glade-2.0.dtd ${prefix}/share/xml/libglade/glade-2.0.dtd ${prefix}/etc/xml/catalog" } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}