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

name                libbdplus
version             0.2.0
revision            0
categories          multimedia
license             LGPL-2.1
platforms           darwin
maintainers         gmail.com:vladashram openmaintainer
description         an open-source library designed implement the BD+ System

long_description    A research project designed to implement the BD+ System Specification that provides an open source library

homepage            https://www.videolan.org/developers/libbdplus.html
master_sites        https://download.videolan.org/pub/videolan/libbdplus/${version}

use_bzip2           yes

depends_build       port:pkgconfig \
                    port:perl5

depends_lib         port:libgcrypt \
                    port:libgpg-error \
                    port:libaacs

checksums           rmd160  612bacd4e8c26b395df7d8787d9bfcc5471edde5 \
                    sha256  b93eea3eaef33d6e9155d2c34b068c505493aa5a4936e63274f4342ab0f40a58 \
                    size    321743

configure.perl      ${prefix}/bin/perl5

patchfiles          patch-libbdplus-no-examples.diff
use_autoreconf      yes

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     libbdplus (\\d+(\\.\\d+)+)
