# -*- 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 107792 2013-07-05 20:35:49Z devans@macports.org $

PortSystem      1.0

name            gnome-bindings-python
version         2.32.1
license         Permissive
categories      devel gnome
platforms       darwin
supported_archs noarch
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-pygtk \
                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-pygtk \
                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-pygtk \
                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
