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

name                libebml
version             1.4.5
revision            0
checksums           rmd160  2fd3b01cb668c759241e7e8c73bb0b2b1d3921ca \
                    sha256  4971640b0592da29c2d426f303e137a9b0b3d07e1b81d069c1e56a2f49ab221b \
                    size    64408

categories          textproc
maintainers         {ryandesign @ryandesign} openmaintainer
license             LGPL-2.1+

description         EBML (Extensible Binary Meta Language), sort of binary version of XML.
long_description    EBML (Extensible Binary Meta Language), a binary derivative of \
                    XML. EBML enables the Matroska Development Team to gain \
                    significant advantages in terms of future format \
                    extensibility, without breaking file support in old parsers.

homepage            https://www.matroska.org
master_sites        https://dl.matroska.org/downloads/${name}/
use_xz              yes

# https://github.com/Matroska-Org/libebml/issues/90
compiler.cxx_standard 2014

configure.args      -DBUILD_SHARED_LIBS=ON

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     >${name}-(\[0-9.\]+)${extract.suffix}
