# $Id$

PortSystem          1.0

name                libxspf
version             1.2.0
checksums           rmd160  64f14c6e419c97826ad729ed46651a86061e6964 \
                    sha256  ba9e93a0066469b074b4022b480004651ad3aa5b4313187fd407d833f79b43a5

categories          devel multimedia
platforms           darwin
maintainers         nomaintainer
license             BSD

description         \
    libxspf (formerly called libSpiff) brings XSPF playlist reading and writing \
    support to your C++ application.
long_description    ${description}
homepage            http://libspiff.sourceforge.net/

master_sites        sourceforge:project/libspiff/Sources/${version}/

use_bzip2           yes
depends_build       port:pkgconfig

depends_lib         port:expat \
                    port:uriparser

patchfiles          patch-examples_read_read.cpp-getcwd-header.diff

# Avoid extra test dependency
configure.args      --disable-test

#test.run            yes
#test.target         check

livecheck.regex     {/Sources/([a-zA-Z0-9.]+\.[a-zA-Z0-9.]+)/}