# -*- 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$

PortSystem          1.0
PortGroup           python26 1.0

name                py26-macfsevents
version             0.1
maintainers         stromnov openmaintainer

description         Thread-based interface to file system observation primitives.

long_description    MacFSEvents is a Python library that provides thread-safe \
                    directory observation primitives using callbacks. It wraps \
                    the Mac OS X FSEvents API in a C-extension.

platforms           darwin

homepage            http://pypi.python.org/pypi/MacFSEvents/
master_sites        http://pypi.python.org/packages/source/M/MacFSEvents/
distname            MacFSEvents-${version}

checksums           md5     5b3b7b9e908ef74e9a25c80a1d382c4a \
                    sha1    f35835c48bd9cd65614b9bfd0b2053c925b3a762 \
                    rmd160  40ec58956c9afd0270f5c4d1132b5e045d3f6ab5

depends_build       port:py26-distribute

post-destroot {
        xinstall -m 644 -W ${worksrcpath} README.rst CHANGES.rst \
                ${destroot}${prefix}/share/doc/${name}
}

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