svn commit: r367704 - head/news/nzbget
Jason E. Hale
jhale at FreeBSD.org
Mon Sep 8 21:24:08 UTC 2014
Author: jhale
Date: Mon Sep 8 21:24:07 2014
New Revision: 367704
URL: http://svnweb.freebsd.org/changeset/ports/367704
QAT: https://qat.redports.org/buildarchive/r367704/
Log:
- Update to 13.0
- Fix shebangs
- Allow linking to ncurses library from port or base
- Remove post-configure patch and redefine BINMODE instead
- Convert USE_PYTHON -> USES=python:run
- Use @sample in pkg-plist
- Don't install multiple copies of LICENSE
PR: 193405 (based on)
Submitted by: Toxic <toxic at doobie.com> (maintainer)
Modified:
head/news/nzbget/Makefile
head/news/nzbget/distinfo
head/news/nzbget/pkg-plist
Modified: head/news/nzbget/Makefile
==============================================================================
--- head/news/nzbget/Makefile Mon Sep 8 21:18:05 2014 (r367703)
+++ head/news/nzbget/Makefile Mon Sep 8 21:24:07 2014 (r367704)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= nzbget
-PORTVERSION= 12.0
-PORTREVISION= 3
+PORTVERSION= 13.0
CATEGORIES= news
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
@@ -15,14 +14,20 @@ LICENSE= GPLv2
LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \
libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20
-USES= pkgconfig
+USES= ncurses pkgconfig shebangfix
USE_RC_SUBR= nzbget
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-libcurses-includes=${NCURSESINC} \
+ --with-libcurses-libraries=${NCURSESLIB}
CONFIGURE_ENV= LOCALBASE="${LOCALBASE}"
MAKE_JOBS_UNSAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= ${PTHREAD_LIBS}
CFLAGS+= ${PTHREAD_CFLAGS}
+BINMODE= 0755
+
+SHEBANG_FILES= scripts/*.py
+python_OLD_CMD= /usr/bin/env python
OPTIONS_DEFINE= 7Z PAR PYTHON RAR DOCS
OPTIONS_SINGLE= TLSLIB
@@ -39,14 +44,14 @@ PAR_CONFIGURE_ON= --enable-parcheck --di
PAR_CONFIGURE_OFF= --disable-parcheck
PAR_LIB_DEPENDS= libpar2.so:${PORTSDIR}/archivers/libpar2
-PYTHON_USE= PYTHON=yes
+PYTHON_USES= python:run
RAR_RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar
OPENSSL_CONFIGURE_ON= --with-tlslib=OpenSSL \
--with-openssl-includes=${OPENSSLINC} \
--with-openssl-libraries=${OPENSSLLIB}
-OPENSSL_USE= OPENSSL=yes
+OPENSSL_USE= OPENSSL=yes
GNUTLS_CONFIGURE_ON= --with-tlslib=GnuTLS
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \
@@ -55,13 +60,9 @@ GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTS
.include <bsd.port.options.mk>
.if (${ARCH} == "i386")
-CONFIGURE_ARGS+= --disable-sigchld-handler
+CONFIGURE_ARGS+= --disable-sigchld-handler
.endif
-post-configure:
- # necessary for stage
- @${REINPLACE_CMD} -e 's|555|655|g ; s|444|644|' ${WRKSRC}/Makefile
-
post-install:
${INSTALL_DATA} ${WRKSRC}/nzbget.conf \
${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample
Modified: head/news/nzbget/distinfo
==============================================================================
--- head/news/nzbget/distinfo Mon Sep 8 21:18:05 2014 (r367703)
+++ head/news/nzbget/distinfo Mon Sep 8 21:24:07 2014 (r367704)
@@ -1,2 +1,2 @@
-SHA256 (nzbget-12.0.tar.gz) = 023c4e3b9c7e920d9ea72b60135b438ce13543454f79984c06fd15365b9a882e
-SIZE (nzbget-12.0.tar.gz) = 1114126
+SHA256 (nzbget-13.0.tar.gz) = 666f5244f31f10333a18450e7a6c1ac729ac68594042236711ba99dd32e78f8e
+SIZE (nzbget-13.0.tar.gz) = 1229936
Modified: head/news/nzbget/pkg-plist
==============================================================================
--- head/news/nzbget/pkg-plist Mon Sep 8 21:18:05 2014 (r367703)
+++ head/news/nzbget/pkg-plist Mon Sep 8 21:24:07 2014 (r367704)
@@ -1,6 +1,12 @@
bin/nzbget
+ at sample etc/nzbget.conf.sample
sbin/nzbgetd
+ at comment %%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
%%DATADIR%%/nzbget.conf
+%%DATADIR%%/scripts/EMail.py
+%%DATADIR%%/scripts/Logger.py
%%DATADIR%%/webui/config.js
%%DATADIR%%/webui/downloads.js
%%DATADIR%%/webui/edit.js
@@ -20,24 +26,20 @@ sbin/nzbgetd
%%DATADIR%%/webui/lib/bootstrap.css
%%DATADIR%%/webui/lib/bootstrap.js
%%DATADIR%%/webui/lib/bootstrap.min.js
+%%DATADIR%%/webui/lib/elycharts.js
+%%DATADIR%%/webui/lib/elycharts.min.js
%%DATADIR%%/webui/lib/jquery.js
%%DATADIR%%/webui/lib/jquery.min.js
+%%DATADIR%%/webui/lib/raphael.js
+%%DATADIR%%/webui/lib/raphael.min.js
%%DATADIR%%/webui/messages.js
%%DATADIR%%/webui/status.js
%%DATADIR%%/webui/style.css
%%DATADIR%%/webui/upload.js
%%DATADIR%%/webui/util.js
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%DATADIR%%/ppscripts/EMail.py
-%%DATADIR%%/ppscripts/Logger.py
- at dirrmtry %%DATADIR%%/ppscripts
- at dirrm %%DATADIR%%/webui/img
- at dirrm %%DATADIR%%/webui/lib
- at dirrm %%DATADIR%%/webui
- at dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
- at unexec if cmp -s %D/etc/nzbget.conf %D/etc/nzbget.conf.sample; then rm -f %D/etc/nzbget.conf; fi
-etc/nzbget.conf.sample
- at exec [ -f %D/etc/nzbget.conf ] || cp %D/etc/nzbget.conf.sample %D/etc/nzbget.conf
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+ at dirrmtry %%DATADIR%%/scripts
+ at dirrmtry %%DATADIR%%/webui/img
+ at dirrmtry %%DATADIR%%/webui/lib
+ at dirrmtry %%DATADIR%%/webui
+ at dirrmtry %%DATADIR%%
More information about the svn-ports-all
mailing list