# -*- 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 55458 2009-08-11 05:27:11Z snc@macports.org $

PortSystem          1.0

name                cclive
version             0.4.7
categories          net www
#license             GPLv3
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:curl

master_sites        googlecode
use_bzip2           yes

checksums           md5     ea7ea8143471690d8972bf9caf21660b \
                    sha1    ac3d99ddd22f8a1147daa23b6fd56833f61d2846 \
                    rmd160  29bcca09a42451bc203e5e30eb7b52545d0f96bb

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}"
