source: trunk/dports/python/py-google/Portfile @ 125959

Last change on this file since 125959 was 114324, checked in by ryandesign@…, 6 years ago

python ports: use eq and ne when comparing ${subport} instead of == and !=

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 952 bytes
RevLine 
[20377]1# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
[5630]2
3PortSystem                      1.0
[101960]4PortGroup                       python 1.0
5
[5630]6name                            py-google
7version                         0.6
[10340]8revision                        1
[6730]9categories-append       devel
[101960]10license                         PSF BSD
[30249]11maintainers                     nomaintainer
[5630]12description                     Python module to talk to Google through SOAP
13long_description \
14        This module allows you to access Google's web APIs through SOAP, to do \
15        things like search Google and get the results programmatically.  This \
16        API is described at http://www.google.com/apis/ .
17
18platforms                       darwin
[101960]19supported_archs         noarch
[5630]20
21homepage                        http://pygoogle.sourceforge.net/
22master_sites            sourceforge:pygoogle
23distname                        pygoogle-${version}
24
25checksums                       md5 334e2d9e5a765ffa9769e2c4cdfcd110
26
[101960]27python.versions         24
[5630]28
[114324]29if {${name} ne ${subport}} {
[101960]30    depends_lib                 port:py${python.version}-soappy
31
32    post-destroot {
33        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
34        eval file copy [glob ${worksrcpath}/doc/*] \
35            ${destroot}${prefix}/share/doc/${subport}
36    }
[5630]37}
Note: See TracBrowser for help on using the repository browser.