# $Id$

PortSystem 1.0

name             monotone
version          1.1
categories       devel
license          GPL-2+
maintainers      nomaintainer
description      A distributed version control system
long_description \
       monotone is a free distributed version control system. It provides \
       a simple, single-file transactional version store, with fully \
       disconnected operation and an efficient peer-to-peer synchronization \
       protocol. It understands history-sensitive merging, lightweight \
       branches, integrated code review and 3rd party testing.
homepage         http://www.monotone.ca/
platforms        darwin
master_sites     ${homepage}downloads/${version}/

use_bzip2        yes
checksums        rmd160  c5e0f45028b806eb166b4aaecababa8e8e81b686 \
                 sha256  f95cf60a22d4e461bec9d0e72f5d3609c9a4576fb1cc45f553d0202ce2e38c88

depends_build    port:pkgconfig
depends_lib      port:zlib \
                 port:libiconv \
                 port:libidn \
                 port:gettext \
                 port:boost \
                 port:lua \
                 port:pcre \
                 port:sqlite3 \
                 port:botan

# botan is not universal
universal_variant no

configure.args   --with-libiconv-prefix=${prefix} \
                 --infodir=${prefix}/share/info \
                 botan_CFLAGS="-I${prefix}/include/botan-1.10" \
                 botan_LIBS="-lbotan-1.10"

test.run         yes
test.target      check