# -*- 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
description Nzb downloader and post processor
long_description hellanzb is an easy to use app designed to retrieve nzb \
files and fully process them. The goal being to make \
getting files from Usenet as hands-free as possible. Once \
fully installed, all that's required is moving an nzb file \
to the queue directory. The rest: downloading, \
par-checking, un-raring, etc. is done automatically by \
homepage http://www.hellanzb.com
master_sites ${homepage}/distfiles/ http://distfiles.macports.org/python/
checksums md5 d3510c6b1b2c7b935332a469fdc8e7e2
python.default_version 27
depends_run bin:par2:par2 \
port:py${python.version}-twisted \
port:py${python.version}-openssl
patchfiles patch-hellanzb.py.diff \
patch-hellanzb_for_twisted-10.0.0.diff
variant no_ssl description {Disable ssl support} {
depends_run-delete port:py${python.version}-openssl
move ${destroot}${python.prefix}/etc/${name}.conf.sample ${destroot}${prefix}/share/doc/hellanzb/
xinstall {*}[glob ${destroot}${python.prefix}/share/doc/hellanzb/*] ${destroot}${prefix}/share/doc/hellanzb/
system "rm -rf ${destroot}${python.prefix}/share"
if { ![file exists ${prefix}/etc/${name}.conf] } {
copy ${prefix}/share/doc/hellanzb/${name}.conf.sample ${prefix}/etc/${name}.conf