Index: head/news/nzbget/Makefile =================================================================== --- head/news/nzbget/Makefile (revision 463541) +++ head/news/nzbget/Makefile (revision 463542) @@ -1,59 +1,59 @@ # Created by: Lewis Thompson # $FreeBSD$ PORTNAME= nzbget PORTVERSION= 19.1 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= news MAINTAINER= toxic@doobie.com COMMENT= Binary newsreader supporting NZB files LICENSE= GPLv2 LIB_DEPENDS= libxml2.so:textproc/libxml2 USES= compiler:c++14-lang 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} CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" MAKE_JOBS_UNSAFE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread BINMODE= 0755 SHEBANG_FILES= scripts/*.py SUB_FILES= pkg-message USE_GITHUB= yes OPTIONS_DEFINE= 7Z PYTHON RAR DOCS OPTIONS_DEFAULT= PAR PYTHON RAR 7Z 7Z_DESC= Support extraction of 7z archives PYTHON_DESC= Support for python post-processing scripts RAR_DESC= Support extraction of rar archives 7Z_RUN_DEPENDS= 7z:archivers/p7zip PYTHON_USES= python:run RAR_RUN_DEPENDS= unrar:archivers/unrar .include .if (${ARCH} == "i386") CONFIGURE_ARGS+= --disable-sigchld-handler .endif post-install: ${INSTALL_DATA} ${WRKSRC}/nzbget.conf \ ${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample .include Index: head/news/nzbget/files/nzbget.in =================================================================== --- head/news/nzbget/files/nzbget.in (revision 463541) +++ head/news/nzbget/files/nzbget.in (revision 463542) @@ -1,26 +1,27 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: nzbget +# REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # nzbget_enable (bool): Set to NO by default. # Set it to YES to enable it. . /etc/rc.subr name=nzbget rcvar=nzbget_enable load_rc_config ${name} : ${nzbget_enable:=NO} command=%%PREFIX%%/bin/nzbget command_args="-D" run_rc_command "$1"