# $Id: Portfile 74826 2011-01-03 10:28:48Z nox@macports.org $

PortSystem      1.0
PortGroup       python26 1.0

name            py26-FlexGet
svn.revision    1368
version         1.0-r${svn.revision}
license         MIT
maintainers     nomaintainer
platforms       darwin
description     FlexGet is a multipurpose automation tool for content like torrents, nzbs, podcasts, comics, etc.

long_description \
    FlexGet is able to handle different kinds of sources like RSS-feeds, html pages and even csv files. There are even \
    some plugins for sites that do not provide any kind of useful feeds.

categories-append \
    www

homepage        http://flexget.com/
fetch.type      svn
svn.url         http://svn.flexget.com/trunk

depends_build \
    port:py26-paver

depends_run \
    port:py26-feedparser \
    port:py26-sqlalchemy \
    port:py26-yaml \
    port:py26-beautifulsoup \
    port:py26-html5lib \
    port:py26-pygooglechart \
    port:py26-PyRSS2Gen \
    port:py26-pynzb \
    port:py26-progressbar

build.cmd       paver-2.6
destroot.cmd    paver-2.6

worksrcdir      trunk

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${docdir}
}

test.run        yes

universal_variant   no
