# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 set realname rss2email name py-rss2email version 3.9 python.versions 34 license GPL-2 platforms darwin supported_archs noarch maintainers khindenburg openmaintainer description A python script that converts RSS/Atom newsfeeds to email long_description ${description} homepage http://pypi.python.org/pypi/${realname}/ master_sites http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}/ distname ${realname}-${version} python.default_version 34 python.link_binaries_suffix checksums rmd160 bfd69ad1b6c9751f552ac7bba31dc3556964a826 \ sha256 2557a8042021dfbdba7d8a7777a4135f08c342bde98318d442d50b56e14f920b if {${name} eq ${subport}} { livecheck.type regex livecheck.regex [format "%s-%s" ${realname} {(\d+(?:\.\d+)*)}] } else { depends_lib-append port:py${python.version}-feedparser \ port:py${python.version}-html2text livecheck.type none } post-destroot { xinstall -m 644 -W ${worksrcpath} \ CHANGELOG AUTHORS COPYING README \ ${destroot}${prefix}/share/doc/${subport} }