1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/news/nzbget/Makefile
Charlie Li d63665f7cd
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.

PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
2022-04-10 15:11:41 -04:00

49 lines
1.1 KiB
Makefile

# Created by: Lewis Thompson <purple@lewiz.net>
PORTNAME= nzbget
PORTVERSION= 21.1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= news
MAINTAINER= alexis.praga@free.fr
COMMENT= Binary newsreader supporting NZB files
LICENSE= GPLv2
LIB_DEPENDS= libxml2.so:textproc/libxml2
USES= autoreconf compiler:c++14-lang cpe gmake localbase ncurses \
pkgconfig python:build shebangfix ssl
USE_GITHUB= yes
USE_RC_SUBR= nzbget
SHEBANG_FILES= scripts/*.py
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
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS OPTIMIZED_FLAGS
OPTIMIZED_FLAGS_DESC= Enable optimized CPU instructions (SSE2/SSE3/NEON/etc)
OPTIMIZED_FLAGS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-disable-optimized-flags.patch
.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>