# -*- 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
# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name            lv2core
version         3.0
maintainers     devans
categories      audio
platforms       darwin
homepage        http://lv2plug.in/spec/
universal_variant   no

description     LV2 Audio Plugin Standard and Package

long_description \
                LV2 is a standard for plugins and matching host applications, \
                mainly targeted at audio processing and generation. It is a \
                a simple but extensible successor of LADSPA, intended to address \
                the limitations of LADSPA which many applications have outgrown.

master_sites    ${homepage}

checksums       md5     382f7d96ff0374c0c495336e1c8bb999 \
                sha1    6f277b32b1ce60e211db95bf37b71045d505b55d \
                rmd160  d36e64d5b1cc1d3eaa6aad4411674c6ce4ffb45b

use_bzip2       yes

configure.cmd   ./waf configure

build.cmd       ./waf
build.target    build

destroot.cmd    ./waf
destroot.destdir --destdir=${destroot}

livecheck.type  regex
livecheck.url   ${homepage}
livecheck.regex <a href="http://lv2plug.in/spec/${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}">LV2 Core Package

