# -*- 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 67349 2010-05-06 12:03:07Z snc@macports.org $

PortSystem          1.0

name                cclive
version             0.6.3
categories          net www
license             GPL
maintainers         openmaintainer snc
description         A command line video extraction utility.
long_description    cclive is a command line video extraction utility similar \
                    to clive but with lower requirements
homepage            http://code.google.com/p/cclive/

platforms           darwin
depends_build       port:pkgconfig
depends_lib         port:quvi

master_sites        googlecode
use_bzip2           yes

checksums           md5     07123fa1c5f8fd60a14d6ceaaf935a2c \
                    sha1    7085619b93a3298eb63297a43484d33a88de6735 \
                    rmd160  945d84659c1ce84853203587bef66a68c5299cee

destroot {
    xinstall -m 0755 ${worksrcpath}/src/cclive ${destroot}${prefix}/bin
    xinstall -m 0444 ${worksrcpath}/cclive.1 ${destroot}${prefix}/share/man/man1
}

livecheck.regex     "${name}-(\\d+\\.\\d+(\\.\\d+)?)${extract.suffix}"
