2018-04-03 17:45:43 +00:00
|
|
|
COMMENT = binary newsreader supporting NZB files
|
2025-11-01 11:16:40 +00:00
|
|
|
REVISION = 0
|
2018-04-03 17:45:43 +00:00
|
|
|
|
2025-10-17 08:49:11 +00:00
|
|
|
DIST_TUPLE += github nzbgetcom nzbget v25.4 .
|
2025-09-02 03:40:03 +00:00
|
|
|
DIST_TUPLE += github nzbgetcom par2cmdline-turbo v1.3.0-20250808 par2cmdline-turbo
|
2018-04-03 17:45:43 +00:00
|
|
|
|
|
|
|
|
CATEGORIES = news
|
|
|
|
|
|
2024-01-06 21:50:38 +00:00
|
|
|
HOMEPAGE = https://nzbget.com/
|
2018-04-03 17:45:43 +00:00
|
|
|
|
2018-06-07 15:30:59 +00:00
|
|
|
MAINTAINER = Bjorn Ketelaars <bket@openbsd.org>
|
2018-04-03 17:45:43 +00:00
|
|
|
|
|
|
|
|
# GPLv2+
|
2019-07-12 20:48:23 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2018-04-03 17:45:43 +00:00
|
|
|
|
2025-09-02 03:40:03 +00:00
|
|
|
WANTLIB += ${COMPILER_LIBCXX} boost_atomic-mt boost_container-mt
|
|
|
|
|
WANTLIB += boost_filesystem-mt boost_json-mt boost_system-mt c
|
|
|
|
|
WANTLIB += crypto curses form m ssl xml2 z
|
2018-04-03 17:45:43 +00:00
|
|
|
|
2024-08-05 18:53:00 +00:00
|
|
|
# C++17
|
2022-02-12 11:52:19 +00:00
|
|
|
COMPILER = base-clang ports-gcc
|
2018-04-03 17:45:43 +00:00
|
|
|
|
2024-08-05 18:53:00 +00:00
|
|
|
MODULES = devel/cmake
|
|
|
|
|
.if DEBUG
|
|
|
|
|
MODCMAKE_DEBUG = Yes
|
|
|
|
|
.endif
|
|
|
|
|
|
2021-06-04 03:18:47 +00:00
|
|
|
RUN_DEPENDS = archivers/p7zip \
|
|
|
|
|
archivers/unrar
|
2024-02-17 18:17:27 +00:00
|
|
|
LIB_DEPENDS = devel/boost \
|
|
|
|
|
textproc/libxml
|
2024-11-19 17:38:23 +00:00
|
|
|
TEST_DEPENDS = ${RUN_DEPENDS}
|
2018-04-03 17:45:43 +00:00
|
|
|
|
2024-11-19 17:38:23 +00:00
|
|
|
CONFIGURE_ARGS = -DCURSES_INCLUDE_PATH=/usr/include \
|
|
|
|
|
-DENABLE_TESTS=ON
|
|
|
|
|
|
2024-08-05 18:53:00 +00:00
|
|
|
post-install:
|
2024-08-13 17:30:50 +00:00
|
|
|
${SUBST_CMD} ${WRKBUILD}/nzbget.conf
|
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/nzbget.conf ${PREFIX}/share/nzbget/
|
2018-04-03 17:45:43 +00:00
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|