# $Id: Portfile 48920 2009-03-31 11:28:38Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python25 1.0

name                py25-tc
version             0.7.2
revision            0
categories          python databases
platforms           darwin

maintainers         rasmus
description         Python bindings to the tokyocabinet library
long_description    ${description}
homepage            http://github.com/rsms/tc

master_sites        http://pypi.python.org/packages/source/t/tc/
distname            tc-${version}
checksums           md5  4405e1464caf0a0b1e1bc30f0874cd9f \
                    sha1 cf95b3c67ab632b551042b9b75d29036cdece0d8

depends_lib-append  port:tokyocabinet

build.args-append -f

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} LICENSE README.rst CHANGELOG.rst ${destroot}${prefix}/share/doc/${name}
}
