# -*- 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 86621 2011-10-30 01:33:28Z devans@macports.org $

PortSystem	1.0

name		gnome-bindings-python
version		2.30.2
revision        1
license         Permissive
categories	devel gnome
platforms       darwin
maintainers	nomaintainer
description	The GNOME bindings for Python

long_description \
                The GNOME bindings is the set of libraries that allow developers to \
                develop fully GNOME compliant applications in C#, C++, Java, Perl, and \
                Python. The platform is one of the suites of software packages that form \
                the complete GNOME project offerings. These are the GNOME bindings for Python.

homepage	http://www.gnome.org/

variant python25 conflicts python26 python27 description {Build bindings for Python 2.5} {
        depends_lib port:py25-atspi \
                    port:py25-gnome \
                    port:py25-gobject \
                    port:py25-gtk \
                    port:py25-orbit
}

variant python26 conflicts python25 python27 description {Build bindings for Python 2.6} {
        depends_lib port:py26-atspi \
                    port:py26-gnome \
                    port:py26-gobject \
                    port:py26-gtk \
                    port:py26-orbit
}

variant python27 conflicts python25 python26 description {Build bindings for Python 2.7} {
        depends_lib port:py27-atspi \
                    port:py27-gnome \
                    port:py27-gobject \
                    port:py27-gtk \
                    port:py27-orbit
}

if {![variant_isset python25] && ![variant_isset python26]} {
        default_variants +python27
}

distfiles

use_configure   no

build           {}

destroot        {
	file mkdir ${destroot}${prefix}/share/doc/
	system "echo ${long_description} > ${destroot}${prefix}/share/doc/README.${name}.txt"
}

livecheck.type  none
