# -*- 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.9 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 db651bbd63f4ae3cfeb344c42f80d206 \ sha1 b04c6728f8998d476ce1cb39734e72ca02d68bf5 \ rmd160 b246e5d3eb8d2817287f7a54d10d3e17f7e24550 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-libXcomposite use_bzip2 yes configure.args --enable-colorblind-applet=no \ --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 --enable-colorblind-applet=no 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.type regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}