source: trunk/dports/python/py-libgmail/Portfile @ 88891

Last change on this file since 88891 was 88891, checked in by phw@…, 6 years ago

py-libgmail: generalized port; py25-libgmail: removed port in favor of generalized port

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- 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
2# $Id: Portfile 88891 2012-01-14 19:56:23Z phw@macports.org $
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name            py-libgmail
8version         0.1.11
9python.versions 24 25 26
10categories      python mail
11platforms       darwin
12maintainers     phw openmaintainer
13description     Python binding for accessing Gmail
14long_description    The libgmail project is a pure Python binding to provide \
15                    access to Google's Gmail web-mail service.
16
17homepage        http://libgmail.sourceforge.net/
18master_sites    sourceforge:libgmail
19distname        libgmail-${version}
20checksums           md5     247477ac98b39658fdcdee8d65639e51 \
21                    sha1    485a06227043104e192839e895325f2c9df09d15
22if { ${name} != ${subport} } {
23    post-destroot   {
24        xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYING PKG-INFO README \
25            ${destroot}${prefix}/share/doc/${subport}
26    }
27
28    if { ${python.version} == 24 } {
29    # Workaround until py-mechanize is generalized
30    depends_lib     port:py-mechanize
31    } else {
32    depends_lib     port:py${python.version}-mechanize
33    }
34}
Note: See TracBrowser for help on using the repository browser.