# -*- 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 87919 2011-12-12 19:17:14Z devans@macports.org $

PortSystem 1.0

name            lv2core
version         6.0
license         Permissive
maintainers     devans openmaintainer
categories      audio
platforms       darwin
supported_archs noarch

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.

homepage        http://lv2plug.in/
master_sites    ${homepage}spec/

checksums       rmd160  09ae02dadfd240ebc0420e537ebf86f59a32fc68 \
                sha256  b05429f1cade75ad559a72d65d78a927f9718e074e3aeb9698510403a4e52309

use_bzip2       yes

configure.cmd   ./waf configure

build.cmd       ./waf
build.target    build

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

#
# port installs audio plugin support files at
# /Library/Audio/Plug-Ins/LV2
# this is normal
#
 
destroot.violate_mtree yes

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