# $Id: Portfile 87583 2011-11-26 22:50:44Z blb@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-freebase epoch 1 version 1.0.8 revision 1 categories-append devel license BSD maintainers nomaintainer description Python interface to freebase.com API long_description \ Freebase.com has an open API that can be used to access and update \ structured data. The RESTful http-based API is completely documented at \ Freebase.com along with some simple examples. This library provides a \ python interface to that API. platforms darwin supported_archs noarch homepage http://code.google.com/p/freebase-python/ master_sites http://pypi.python.org/packages/source/f/freebase/ distname freebase-${version} checksums md5 f873f6f53668b4df66c8b844c716acf5 \ sha1 9f0e398d4f1e21126d5949ccf2bc8172d10065c0 \ rmd160 f7ec4ba8c1918c60852724ff79e72e36800658e8 if {${name} != ${subport}} { post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \ ${destroot}${prefix}/share/examples/${subport} xinstall -m 644 -W ${worksrcpath} COPYRIGHT README \ ${destroot}${prefix}/share/doc/${subport} eval file copy [glob ${worksrcpath}/examples/*] \ ${destroot}${prefix}/share/examples/${subport} } } python.default_version 27 python.versions 25 26 27 livecheck.url [lindex ${master_sites} 0] livecheck.regex {freebase-([.\d]+)\.tar\.gz}