# $Id: Portfile 66547 2010-04-16 13:37:13Z raimue@macports.org $

PortSystem    1.0
PortGroup     python26 1.0

name          bzrtools
version       2.1.0
set branch    [join [lrange [split ${version} .] 0 1] .]
revision      1
epoch         1
categories    devel python
platforms     darwin
maintainers   raimue

description   A collection of plugins bzr.
long_description  A collection of plugins for bzr. Including rspush for \
    pushing to a remote server with rsync, baz-import for importing arch \
    or baz branches into bzr, shelve/unshelve for a fine grained 'undo' \
    facility, clean-tree for removing unknown files from the current \
    tree, graph-ancestory for producing graphs of branch history, and \
    many others.

homepage      http://bazaar-vcs.org/BzrTools
master_sites  http://code.launchpad.net/${name}/trunk/${version}/+download/
worksrcdir    ${name}

checksums     md5     eb4e6eec259d1e9222c0e73318719515 \
              sha1    36c4ca7b4461b4e8bd6ca217f527154d183c6342 \
              rmd160  bde304caa76c224aaaf8e8ef51889eb43c486c67

depends_lib-append port:bzr
depends_run-append path:bin/dot:graphviz

variant no_graphviz description {Disable GraphViz, removing Graph Ancestry support} {
    depends_run-delete path:bin/dot:graphviz
}

universal_variant no

livecheck.type  regex
livecheck.url   ${homepage}
livecheck.regex {bzrtools-(\d+(?:\.\d+)*).tar.gz}
