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

name                    serd
version                 0.30.12
license                 MIT
categories              audio
maintainers             {gmail.com:aggraef @agraef} openmaintainer

description             lightweight C library for RDF syntax
long_description        ${name} is a ${description}. \
                        It supports reading and writing Turtle and NTriples.

homepage                https://drobilla.net/software/serd.html
master_sites            https://download.drobilla.net/

use_bzip2               yes

checksums               rmd160  5b0aaca51c41f6cb0d3e1e611cdefaa7a6d85d94 \
                        sha256  9f9dab4125d88256c1f694b6638cbdbf84c15ce31003cd83cb32fb2192d3e866 \
                        size    594475

configure.post_args-delete --nocache

depends_build-append    port:pkgconfig

livecheck.type          regex
livecheck.url           ${master_sites}
livecheck.regex         "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
