# $Id$ PortSystem 1.0 PortGroup python24 1.0 name py-gdata version 2.0.2 categories-append devel maintainers aecollins1 description Google Data API Python Client Library long_description \ The Google Data Python Client Library provides a library that makes it \ easy to access data through the Google Data APIs. Many Google services \ (such as Google Calendar and Documents) support the Google Data API \ protocol. platforms darwin homepage http://code.google.com/p/gdata-python-client/ master_sites http://gdata-python-client.googlecode.com/files/ distname gdata-${version} checksums md5 8e886c7925d34ae0f9a5b9a094e790c5 \ sha1 e853e146861fbf13304825c0c91cdc45d5f312e7 \ rmd160 299ecaa5d4fe0b32671cd4192df5cf8136333f2f depends_lib port:py-setuptools \ port:py-elementtree post-destroot { eval reinplace \ "s|/usr/local/svn/gdata-python-client/src|${prefix}/lib/python${python.branch}/site-packages|g" \ [glob ${worksrcpath}/pydocs/*.html] xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} eval file copy [glob ${worksrcpath}/pydocs/*.html] \ ${destroot}${prefix}/share/doc/${name} eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python${python.branch}|g" \ [glob ${worksrcpath}/samples/*/*.py] file copy ${worksrcpath}/samples \ ${destroot}${prefix}/share/doc/${name}/ }