Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2014 21:24:07 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367704 - head/news/nzbget
Message-ID:  <201409082124.s88LO7AM005209@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
+@sample etc/nzbget.conf.sample
 sbin/nzbgetd
+@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
-@dirrmtry %%DATADIR%%/ppscripts
-@dirrm %%DATADIR%%/webui/img
-@dirrm %%DATADIR%%/webui/lib
-@dirrm %%DATADIR%%/webui
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@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
-@exec [ -f %D/etc/nzbget.conf ] || cp %D/etc/nzbget.conf.sample %D/etc/nzbget.conf
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrmtry %%DATADIR%%/scripts
+@dirrmtry %%DATADIR%%/webui/img
+@dirrmtry %%DATADIR%%/webui/lib
+@dirrmtry %%DATADIR%%/webui
+@dirrmtry %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409082124.s88LO7AM005209>