44 lines
917 B
Makefile
44 lines
917 B
Makefile
COMMENT = binary newsreader supporting NZB files
|
|
|
|
VERSION = 21.1
|
|
REVISION = 2
|
|
DISTNAME = nzbget-${VERSION}
|
|
|
|
CATEGORIES = news
|
|
|
|
HOMEPAGE = https://nzbget.net/
|
|
|
|
MAINTAINER = Bjorn Ketelaars <bket@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = ${COMPILER_LIBCXX} c crypto curses m ssl xml2 z
|
|
|
|
MASTER_SITES = https://github.com/nzbget/nzbget/releases/download/v${VERSION}/
|
|
EXTRACT_SUFX = -src.tar.gz
|
|
|
|
# C++14
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
RUN_DEPENDS = archivers/p7zip \
|
|
archivers/unrar
|
|
LIB_DEPENDS = textproc/libxml
|
|
|
|
MAKE_FLAGS = MAKE=${MAKE_PROGRAM}
|
|
FAKE_FLAGS = exampleconfdir=${PREFIX}/share/examples/nzbget \
|
|
scriptsdir=${PREFIX}/share/examples/nzbget
|
|
|
|
SEPARATE_BUILD = Yes
|
|
USE_GMAKE = Yes
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --with-libcurses-includes=/usr/include \
|
|
--with-libcurses-libraries=/usr/lib
|
|
|
|
NO_TEST = Yes
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/nzbget.conf
|
|
|
|
.include <bsd.port.mk>
|