freebsd-ports/news/nzbget/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

59 lines
1.4 KiB
Makefile

# Created by: Lewis Thompson <purple@lewiz.net>
# $FreeBSD$
PORTNAME= nzbget
PORTVERSION= 21.0
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= news
MAINTAINER= ports@FreeBSD.org
COMMENT= Binary newsreader supporting NZB files
LICENSE= GPLv2
LIB_DEPENDS= libxml2.so:textproc/libxml2
USES= autoreconf compiler:c++14-lang gmake localbase ncurses pkgconfig shebangfix ssl
USE_RC_SUBR= nzbget
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libcurses-includes=${NCURSESINC} \
--with-libcurses-libraries=${NCURSESLIB} \
--with-tlslib=OpenSSL \
--with-openssl-includes=${OPENSSLINC} \
--with-openssl-libraries=${OPENSSLLIB}
BINMODE= 0755
SHEBANG_FILES= scripts/*.py
SUB_FILES= pkg-message
USE_GITHUB= yes
OPTIONS_DEFINE= 7Z DOCS OPTIMIZED_FLAGS PYTHON RAR
OPTIONS_DEFAULT= PAR PYTHON RAR 7Z
7Z_DESC= Support extraction of 7z archives
OPTIMIZED_FLAGS_DESC= Enable optimized CPU instructions (SSE2/SSE3/NEON/etc)
PYTHON_DESC= Support for python post-processing scripts
RAR_DESC= Support extraction of rar archives
7Z_RUN_DEPENDS= 7z:archivers/p7zip
OPTIMIZED_FLAGS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-disable-optimized-flags.patch
PYTHON_USES= python:run
RAR_RUN_DEPENDS= unrar:archivers/unrar
.include <bsd.port.options.mk>
.if (${ARCH} == "i386")
CONFIGURE_ARGS+= --disable-sigchld-handler
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/nzbget.conf \
${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample
.include <bsd.port.mk>