# -*- 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$ PortSystem 1.0 name gnome-mag version 0.15.7 set branch [join [lrange [split ${version} .] 0 1] .] description GNOME magnifier. long_description ${description} maintainers nomaintainer categories gnome platforms darwin homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ checksums md5 40eb26385e3225ac5cb1eab87488cfc3 \ sha1 8255a34422df3ca372fc54c23170ebd272d6c1af \ rmd160 0b238052324513a38884b418d41b0ca32b77b1c8 depends_build port:pkgconfig \ port:intltool \ port:p5-xml-parser \ port:gnome-doc-utils \ depends_lib port:at-spi \ port:gconf \ port:libbonobo \ port:xorg-libXdamage \ port:xorg-libXfixes \ port:xorg-libXext \ port:xorg-libXcomposite use_bzip2 yes configure.args --disable-colorblind-applet \ --disable-schemas-install \ --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib variant colorblind description {Enable building of colorblind applet} { depends_lib-append port:libcolorblind depends_lib-append port:py25-gnome configure.args-delete --disable-colorblind-applet configure.python ${prefix}/bin/python2.5 } post-activate { system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications; true" system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}