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

PortSystem          1.0
PortGroup           cmake 1.1
PortGroup           conflicts_build 1.0
PortGroup           github 1.0

github.setup        librsync librsync 2.3.4 v
github.tarball_from releases

revision            0
categories          net devel
platforms           darwin
maintainers         nomaintainer
license             LGPL-2.1+

description         library that implements the rsync remote-delta algorithm

long_description    librsync is a free software library that implements \
                    the rsync remote-delta algorithm. This algorithm allows \
                    efficient remote updates of a file, without requiring the \
                    old and new versions to both be present at the sending \
                    end. The library uses a streaming design similar to that \
                    of zlib with the aim of allowing it to be embedded into \
                    many different applications. librsync is not \
                    wire-compatible with rsync 2.x, and is not likely to be \
                    in the future.

homepage            https://librsync.github.io/

checksums           sha256  a0dedf9fff66d8e29e7c25d23c1f42beda2089fb4eac1b36e6acd8a29edfbd1f \
                    rmd160  25facd180c688dc75e8345c2c4775c2c7a7e7c6d \
                    size    201307

# librsync finds previously installed header files
conflicts_build     librsync

depends_lib         port:bzip2 \
                    port:popt \
                    port:zlib

test.run            yes
test.target         check