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

PortSystem          1.0

name                quvi
version             0.9.5
revision            1
set branch          [join [lrange [split ${version} .] 0 1] .]
categories          net www
license             GPL-3
maintainers         openmaintainer snc
description         A command line tool for parsing video download links.
long_description    ${name} is a command line tool for parsing video download \
                    links. It supports Youtube and other similar video \
                    websites. lib${name} is a library for parsing video \
                    download links with C API. It is written in C and intended \
                    to be a cross-platform library.
homepage            http://quvi.sourceforge.net/
installs_libs       no

platforms           darwin
depends_build       port:pkgconfig
depends_lib         port:curl \
                    port:gettext \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:json-glib \
                    port:libquvi \
                    port:libxml2

master_sites        sourceforge:project/quvi/${branch}/quvi
use_xz              yes

checksums           rmd160  356e20d54c7a9137d032fa98a6e94d326b9bc04a \
                    sha256  cb3918aad990b9bc49828a5071159646247199a63de0dd4c706adc5c8cd0a2c0

configure.cppflags  -I${worksrcpath}/include -I${prefix}/include

test.run            yes
test.target         check

livecheck.regex     ${name}-(\\d+(\\.\\d+)+)