# $Id: Portfile 101960 2013-01-23 04:11:20Z jmr@macports.org $

PortSystem			1.0
PortGroup			python 1.0

name				py-google
version				0.6
revision			1
categories-append	devel
license				PSF BSD
maintainers			nomaintainer
description			Python module to talk to Google through SOAP
long_description \
	This module allows you to access Google's web APIs through SOAP, to do \
	things like search Google and get the results programmatically.  This \
	API is described at http://www.google.com/apis/ .

platforms			darwin
supported_archs		noarch

homepage			http://pygoogle.sourceforge.net/
master_sites		sourceforge:pygoogle
distname			pygoogle-${version}

checksums			md5 334e2d9e5a765ffa9769e2c4cdfcd110

python.versions		24

if {$subport != $name} {
    depends_lib			port:py${python.version}-soappy

    post-destroot {
        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
        eval file copy [glob ${worksrcpath}/doc/*] \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
