source: trunk/dports/python/py26-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           python26 1.0
5name                py26-freebase
6epoch               1
7version             1.0.8
8categories-append   devel
9license             BSD
10maintainers         blb openmaintainer
11description         Python interface to freebase.com API
12long_description \
13   Freebase.com has an open API that can be used to access and update \
14   structured data. The RESTful http-based API is completely documented at \
15   Freebase.com along with some simple examples. This library provides a \
16   python interface to that API.
17
18platforms           darwin
19
20homepage            http://code.google.com/p/freebase-python/
21master_sites        http://pypi.python.org/packages/source/f/freebase/
22distname            freebase-${version}
23
24checksums           md5     f873f6f53668b4df66c8b844c716acf5 \
25                    sha1    9f0e398d4f1e21126d5949ccf2bc8172d10065c0 \
26                    rmd160  f7ec4ba8c1918c60852724ff79e72e36800658e8
27
28post-destroot {
29   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
30      ${destroot}${prefix}/share/examples/${name}
31   xinstall -m 644 -W ${worksrcpath} COPYRIGHT README \
32      ${destroot}${prefix}/share/doc/${name}
33   eval file copy [glob ${worksrcpath}/examples/*] \
34      ${destroot}${prefix}/share/examples/${name}
35}
36
37livecheck.url       [lindex ${master_sites} 0]
38livecheck.regex     {freebase-([.\d]+)\.tar\.gz}
39
Note: See TracBrowser for help on using the repository browser.