# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id: Portfile 86181 2011-10-20 20:21:09Z devans@macports.org $ PortSystem 1.0 name py27-atspi set gname pyatspi version 0.1.8 license LGPL set branch [join [lrange [split ${version} .] 0 1] .] categories python gnome platforms darwin maintainers devans openmaintainer description Python bindings to AT-SPI on GNOME long_description \ This module provides a python client library for the Service Provider Interface \ to Assistive Technologies available on the GNOME platform using the dbus \ rather than CORBA infrastructure. homepage http://live.gnome.org/Accessibility master_sites gnome:sources/${gname}/${branch}/ distname ${gname}-${version} use_bzip2 yes checksums md5 01f6a0d4879e6d65bce20ae4927b6d45 \ sha1 d8b3b29a2d091a5913cfb845b5bd7a730a0e92f5 \ rmd160 c01df0ec817f504c96af76c3c4cde96abae8366d depends_lib port:py27-gtk \ port:dbus-python27 set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7 configure.pre_args-delete --prefix=${prefix} configure.pre_args-append --prefix=${python_prefix} configure.args-append --includedir=${python_prefix}/include/python2.7 configure.pkg_config_path ${python_prefix}/lib/pkgconfig configure.python ${prefix}/bin/python2.7 post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING README \ ${destroot}${docdir} } livecheck.type regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${gname}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}