# -*- 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 106325 2013-05-22 16:13:36Z snc@macports.org $

PortSystem          1.0

name                libquvi
version             0.9.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/

platforms           darwin
depends_build       port:pkgconfig
depends_lib         port:curl \
                    port:libgcrypt \
                    port:libquvi-scripts \
                    port:libproxy \
                    port:lua

patchfiles          patch-configure.ac.diff

master_sites        sourceforge:quvi
use_xz              yes
use_autoconf        yes

checksums           rmd160  d682c106587ffd3d196c8d1a69c9edd2051d5d46 \
                    sha256  1ec6230f721f7eb195156965f886662bb017be2f250b29f3b04202a10ebd12b7

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

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