# -*- 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 67039 2010-04-27 19:51:57Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-macfsevents
version             0.2.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     4a99d9c34c72406fdf4ade4bcdc2d7d7 \
                    sha1    7548ccff9e351cd872acb9ed8eb7955f4876c91c \
                    rmd160  0e36be68a9378a955b175233ac907b765ebfc55a

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}"
