source: trunk/dports/news/hellanzb/Portfile @ 69520

Last change on this file since 69520 was 69520, checked in by jmr@…, 10 years ago

update openssl to 1.0.0a and rev bump dependents (#25114, maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 69520 2010-07-08 20:19:52Z jmr@macports.org $
3
4PortSystem 1.0
5PortGroup           python26 1.0
6
7name             hellanzb
8version          0.13
9revision        1
10categories       news python
11maintainers      groovie.org:pjenvey
12description      Nzb downloader and post processor
13long_description hellanzb is an easy to use app designed to retrieve nzb \
14                 files and fully process them. The goal being to make \
15                 getting files from Usenet as hands-free as possible. Once \
16                 fully installed, all that's required is moving an nzb file \
17                 to the queue directory. The rest: downloading, \
18                 par-checking, un-raring, etc. is done automatically by \
19                 hellanzb.
20homepage         http://www.hellanzb.com
21platforms        darwin
22
23master_sites     ${homepage}/distfiles/
24checksums        md5 d3510c6b1b2c7b935332a469fdc8e7e2
25
26depends_run      bin:par2:par2 \
27                 bin:unrar:unrar \
28                 bin:flac:flac \
29                 bin:shorten:shorten \
30                 port:py26-twisted \
31                 port:py26-openssl
32
33patchfiles       patch-hellanzb.py.diff
34
35variant no_ssl description {Disable ssl support} {
36    depends_run-delete  port:py26-openssl
37}
38
39post-destroot {
40   move ${destroot}${python.prefix}/bin/${name}.py ${destroot}${prefix}/bin
41   move ${destroot}${python.prefix}/etc/${name}.conf.sample ${destroot}${prefix}/share/doc/hellanzb/
42   
43   eval xinstall [glob ${destroot}${python.prefix}/share/doc/hellanzb/*] ${destroot}${prefix}/share/doc/hellanzb/
44   
45   system "rm -rf ${destroot}${python.prefix}/share"
46}
47
48post-activate {
49  if { ![file exists ${prefix}/etc/${name}.conf] } {
50    copy ${prefix}/share/doc/hellanzb/${name}.conf.sample ${prefix}/etc/${name}.conf
51  }
52}
Note: See TracBrowser for help on using the repository browser.