1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name nzbget |
---|
7 | version 0.6.0 |
---|
8 | categories net |
---|
9 | maintainers nomaintainer |
---|
10 | |
---|
11 | description binary newsgrabber |
---|
12 | long_description \ |
---|
13 | A command-line based binary newsgrabber for Linux, Unix, \ |
---|
14 | and Mac OS X supporting nzb-files. |
---|
15 | |
---|
16 | homepage http://sourceforge.net/projects/nzbget/ |
---|
17 | platforms darwin |
---|
18 | master_sites sourceforge |
---|
19 | |
---|
20 | checksums sha1 c01b455e221c6075f7543de7d953966a527a6b6e \ |
---|
21 | md5 eb95b3930abffb570e37af8d284c1f9d \ |
---|
22 | rmd160 7dacc0a24efb66019de99fd6b143c97a559883ba |
---|
23 | |
---|
24 | |
---|
25 | depends_build port:pkgconfig |
---|
26 | depends_lib port:libsigcxx2 \ |
---|
27 | port:openssl \ |
---|
28 | port:libpar2 \ |
---|
29 | port:libxml2 |
---|
30 | |
---|
31 | configure.args LIBS=-lcrypto \ |
---|
32 | --with-tlslib=OpenSSL \ |
---|
33 | --with-openssl-includes=${prefix}/include/openssl \ |
---|
34 | --with-openssl-libraries=${prefix}/lib \ |
---|
35 | --mandir=${prefix}/share/man |
---|
36 | |
---|
37 | post-destroot { |
---|
38 | set docdir ${prefix}/share/doc/${name}-${version} |
---|
39 | xinstall -d ${destroot}${docdir} |
---|
40 | xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING INSTALL NEWS README \ |
---|
41 | nzbget.conf.example ${destroot}${docdir} |
---|
42 | } |
---|
43 | |
---|
44 | post-activate { |
---|
45 | ui_msg "An example configuration file has been installed at\ |
---|
46 | ${prefix}/share/doc/${name}-${version}/nzbget.conf.example" |
---|
47 | } |
---|
48 | |
---|
49 | livecheck.distname nzbget-stable |
---|