# -*- 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
PortGroup compiler_blacklist_versions 1.0
PortGroup legacysupport 1.0
github.setup nzbget nzbget 19.1 v
github.tarball_from releases
checksums rmd160 e59c9142db7ce3afd08ac54f33ae9da0d05da060 \
sha256 06df42356ac2d63bbc9f7861abe9c3216df56fa06802e09e8a50b05f4ad95ce6
NZBGet is a cross-platform binary newsgrabber for nzb files, written in C++.
It supports client/server mode, automatic par-check/-repair and \
web-interface. NZBGet requires low system resources and runs great on \
routers, NAS-devices and media players.
homepage https://nzbget.net/
distname ${name}-${version}-src
worksrcdir ${name}-${version}
depends_build port:pkgconfig
depends_lib port:gnutls \
patchfiles patch-daemon-connect-TlsSocket.cpp.diff
# needs a c++14 compatible compiler
compiler.blacklist-append {clang < 602}
configure.args --with-tlslib=GnuTLS \
--with-libgnutls-includes=${prefix}/include/gnutls \
--with-libgnutls-libraries=${prefix}/lib
An example configuration file has been installed at ${prefix}/share/nzbget/nzbget.conf
livecheck.url ${github.homepage}/releases/latest