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
Line 
1# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
2
3PortSystem                      1.0
4PortGroup                       python 1.0
5
6name                            py-google
7version                         0.6
8revision                        1
9categories-append       devel
10license                         PSF BSD
11maintainers                     nomaintainer
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
19supported_archs         noarch
20
21homepage                        http://pygoogle.sourceforge.net/
22master_sites            sourceforge:pygoogle
23distname                        pygoogle-${version}
24
25checksums                       md5 334e2d9e5a765ffa9769e2c4cdfcd110
26
27python.versions         24
28
29if {${name} ne ${subport}} {
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    }
37}
Note: See TracBrowser for help on using the repository browser.