source: trunk/dports/python/py27-freebase/Portfile @ 76953

Last change on this file since 76953 was 76953, checked in by blb@…, 10 years ago

Numerous ports: add license field

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 76953 2011-03-15 03:47:33Z blb@macports.org $
2
3PortSystem          1.0
4PortGroup           python27 1.0
5name                py27-freebase
6version             1.0.8
7categories-append   devel
8license             BSD
9maintainers         blb openmaintainer
10description         Python interface to freebase.com API
11long_description \
12   Freebase.com has an open API that can be used to access and update \
13   structured data. The RESTful http-based API is completely documented at \
14   Freebase.com along with some simple examples. This library provides a \
15   python interface to that API.
16
17platforms           darwin
18
19homepage            http://code.google.com/p/freebase-python/
20master_sites        http://pypi.python.org/packages/source/f/freebase/
21distname            freebase-${version}
22
23checksums           md5     f873f6f53668b4df66c8b844c716acf5 \
24                    sha1    9f0e398d4f1e21126d5949ccf2bc8172d10065c0 \
25                    rmd160  f7ec4ba8c1918c60852724ff79e72e36800658e8
26
27post-destroot {
28   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
29      ${destroot}${prefix}/share/examples/${name}
30   xinstall -m 644 -W ${worksrcpath} COPYRIGHT README \
31      ${destroot}${prefix}/share/doc/${name}
32   eval file copy [glob ${worksrcpath}/examples/*] \
33      ${destroot}${prefix}/share/examples/${name}
34}
35
36livecheck.url       [lindex ${master_sites} 0]
37livecheck.regex     {freebase-([.\d]+)\.tar\.gz}
38
Note: See TracBrowser for help on using the repository browser.