# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-libgmail
version             0.1.11
categories-append   mail
platforms           {darwin any}
license             GPL-2
maintainers         nomaintainer

description         Python binding for accessing Gmail
long_description    The libgmail project is a pure Python binding to \
                    provide access to Google's Gmail web-mail service.
homepage            http://libgmail.sourceforge.net/

supported_archs     noarch

master_sites        sourceforge:libgmail
distname            libgmail-${version}
checksums           md5     247477ac98b39658fdcdee8d65639e51 \
                    sha1    485a06227043104e192839e895325f2c9df09d15

python.versions     27

if {${name} ne ${subport}} {
    depends_lib     port:py${python.version}-mechanize
    post-destroot {
        xinstall -m 644 -W ${worksrcpath} \
                CHANGELOG COPYING PKG-INFO README \
                ${destroot}${prefix}/share/doc/${subport}
    }
}
