# -*- 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: Portfile 115489 2014-01-03 12:41:42Z jmr@macports.org $ PortSystem 1.0 name libglade2 set my_name libglade version 2.6.4 revision 8 set branch [join [lrange [split ${version} .] 0 1] .] categories gnome maintainers nomaintainer platforms darwin license LGPL-2+ 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 # add a dummy +quartz variant to distinguish the binary packages, # because they must link against libgtk2-quartz instead of # libgtk2-x11. See #31303 variant quartz {} checksums md5 d1776b40f4e166b5e9c107f1c8fe4139 \ sha1 8465851733b8a0efbe57c43efc0f140d8e2d2edb \ rmd160 516a43543e518a319ca9b35556ca1ac88e2ce8fb post-extract { move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac } patchfiles missing-links.patch use_autoreconf yes autoreconf.args -fvi post-patch { reinplace -E "/^install-data-am:/s/install-data-local//" ${worksrcpath}/Makefile.am } depends_build-append \ port:pkgconfig depends_lib-append \ 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" } pre-deactivate { system "xmlcatalog --noout --del http://glade.gnome.org/glade-2.0.dtd ${prefix}/etc/xml/catalog" } # libglade is dead # http://mail.gnome.org/archives/devel-announce-list/2009-May/msg00003.html livecheck.type none