# -*- 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 119821 2014-05-07 18:22:55Z sean@macports.org $

PortSystem          1.0
PortGroup           python 1.0
PortGroup           bitbucket 1.0

set realname        hgwatchman
bitbucket.setup     facebook ${realname} 0.4.1
name                py-${realname}
categories-append   devel
platforms           darwin
maintainers         sean openmaintainer
supported_archs     noarch
license             GPL-2+

description         Integrates the file-watching program watchman with \
                    Mercurial to produce faster status results.
long_description    ${description}

checksums           rmd160  eaf5c38631ecf5e8af0fe16cb94bb3e84a89e3e8 \
                    sha256  df022482d89612feed98d91382677caa6b222615c5d0a8097db4fa8ad0e3dd38

python.versions     27

if {${name} ne ${subport}} {
    depends_lib-append  path:bin/hg:mercurial \
                        port:watchman

    notes               "
To enable ${realname}, add the following to your ~/.hgrc:

\[extensions\]
${realname} =
"

    livecheck.type      none
}
