# -*- 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 113855 2013-11-24 22:14:02Z sean@macports.org $ PortSystem 1.0 name at-spi version 1.32.0 conflicts at-spi2-atk license LGPL set branch [join [lrange [split ${version} .] 0 1] .] description Gnome Accesibility Technology Service long_description \ 'at-spi' is a part of the Gnome Accessibility Project. It provides a \ Service Provider Interface for the Assistive Technologies available on \ the GNOME platform, and a library against which applications can be linked. maintainers nomaintainer categories gnome platforms darwin homepage http://developer.gnome.org/projects/gap/ master_sites gnome:sources/${name}/${branch}/ checksums sha256 cc841dea746413eebadf0710dabec741450b37a06821c34526f505fe9d027039 \ rmd160 18e9453c26f8d1cdd91ba7bf2d8ac49a19b9aa7d depends_build port:intltool \ port:pkgconfig depends_lib port:atk \ port:gtk2 \ port:gconf \ port:libbonobo \ port:xorg-libXtst use_bzip2 yes patchfiles patch-pyatspi-Makefile.in.diff configure.args --enable-static \ --disable-xevie \ --with-x \ --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --disable-schemas-install variant python26 conflicts python27 description {Use python 2.6} { configure.python ${prefix}/bin/python2.6 depends_lib-append port:py26-gnome post-patch { reinplace "s|__MP_PYTHON_EXEC_DIR__|${prefix}//Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages|" ${worksrcpath}/pyatspi/Makefile.in } } variant python27 conflicts python26 description {Use python 2.7} { configure.python ${prefix}/bin/python2.7 depends_lib-append port:py27-gnome post-patch { reinplace "s|__MP_PYTHON_EXEC_DIR__|${prefix}//Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages|" ${worksrcpath}/pyatspi/Makefile.in } } if {![variant_isset python26]} { default_variants +python27 } post-activate { system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.type gnome