# $Id: Portfile 79645 2011-06-22 10:04:28Z ram@macports.org $

PortSystem    1.0
PortGroup     python27 1.0

name          googlecl
version       0.9.13
revision      2
categories    www
platforms     darwin
maintainers   ram openmaintainer
license       Apache
supported_archs noarch

description   Command line tools for the Google Data APIs
long_description \
  GoogleCL brings Google services to the command line. It currently \
  supports Blogger, Calendar, Contacts, Docs, Picasa, and Youtube

homepage      http://code.google.com/p/googlecl/
master_sites  http://googlecl.googlecode.com/files/

checksums     md5 83252f69fd9b7ce0720af1aabb4ebf09 \
              sha1 c0eea1bc0a76e84f3d9f2ebf360e09cf63fe9a0d \
              rmd160 8324f45f05f34652f775258580f234a43db52fe3

depends_lib-append port:py27-gdata

python.link_binaries no

post-destroot {
  foreach x [glob -type {x} ${destroot}${python.prefix}/bin/*] { system "ln $x ${destroot}${prefix}/bin" }
}
