# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 78807 2011-05-23 09:25:25Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-kyotocabinet
version             1.15
revision            0
categories-append   databases
maintainers         stromnov openmaintainer
platforms           darwin

description         Python 2.x Binding of Kyoto Cabinet
long_description    ${description}

homepage            http://fallabs.com/kyotocabinet/
master_sites        http://fallabs.com/kyotocabinet/pythonlegacypkg/

distname            kyotocabinet-python-legacy-${version}

checksums           md5     1ddd843244bea116715a707ef56dc906 \
                    sha1    380e5b1809bd62ed0decf2de4a8984e77a487fb0 \
                    rmd160  eac510291a39a07bb0c55a5d0f5ef8bac65397e6

depends_lib-append  port:kyotocabinet \
                    port:zlib

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "kyotocabinet-python-legacy-(\\d+(?:\\.\\d+)*)${extract.suffix}"
