# -*- 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 79325 2011-06-09 16:55:59Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-PyRSS2Gen
version             1.0.0
revision            1
platforms           darwin
categories-append   devel
maintainers         nomaintainer
license             BSD
supported_archs     noarch

description         Python library for generating RSS 2.0 feeds

long_description    ${name} is a ${description}.

homepage            http://www.dalkescientific.com/Python/PyRSS2Gen.html
master_sites        http://www.dalkescientific.com/Python/
distname            PyRSS2Gen-${version}

checksums           md5     b37ed0c9cfa4438a73dbbb0207f3aff6 \
                    sha1    fcea9beb59ca022ed89b254b2362ae5af386f01a \
                    rmd160  8fe60587c15760dc229c0acc765626a0e1c412d7

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

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     {PyRSS2Gen-(\d+(?:\.\d+)*)}
