# -*- 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 # $Id: Portfile 85728 2011-10-16 04:10:48Z dports@macports.org $ PortSystem 1.0 name metacity version 2.30.3 revision 3 set branch [join [lrange [split ${version} .] 0 1] .] description A window manager for the adult in you. long_description ${description} maintainers devans openmaintainer categories gnome x11-wm license GPL-2+ platforms darwin homepage http://www.gnome.org master_sites gnome:sources/${name}/${branch}/ checksums md5 553784f376d96b902e19ff437cd5b339 \ sha1 32848d34473375ca27ef12be9f41e924d8af177d \ rmd160 ce4a994c7b1e7b95e493fc67082a4cbb6458329f depends_lib port:gconf \ port:startup-notification \ port:libgtop \ port:libcanberra \ port:zenity \ port:xorg-libsm depends_build port:gnome-doc-utils \ port:pkgconfig \ port:intltool use_bzip2 yes patchfiles patch-src-core-main.c.diff configure.args --mandir=${prefix}/share/man \ --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --disable-scrollkeeper \ --disable-schemas-install pre-fetch { if {![file exists $prefix/lib/libgdk-x11-2.0.dylib]} { ui_error "gtk2 must be installed with +x11 variant enabled." error "gtk2 must be installed with +x11 variant." } } post-activate { system "${prefix}/bin/scrollkeeper-update" system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.type regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}