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

github.setup        jmacd xdelta-devel 3.1.0 v
name                xdelta
categories          archivers
maintainers         nomaintainer

description         Open-source binary diff, differential compression tools, \
                    VCDIFF (RFC 3284) delta compression
long_description    ${description}
license             Apache-2

github.tarball_from releases
distname            xdelta3-${version}

checksums           rmd160  2e6dd8cfab9434f1354f98eb316a0d50970e049c \
                    sha256  114543336ab6cee3764e3c03202701ef79d7e5e8e4863fe64811e4d9e61884dc \
                    size    727607

depends_lib         port:xz

# cc1plus: error: unrecognized command line option "-std=c++11"
compiler.cxx_standard   2011

build.args          CC="${configure.cc} ${configure.cflags} [get_canonical_archflags cc]" \
                    CXX="${configure.cxx} ${configure.cxxflags} [get_canonical_archflags cxx]"
