From owner-svn-ports-head@FreeBSD.ORG Mon Sep 8 21:24:08 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45B18DB0; Mon, 8 Sep 2014 21:24:08 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 25D421EAC; Mon, 8 Sep 2014 21:24:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s88LO8VO005215; Mon, 8 Sep 2014 21:24:08 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s88LO7AM005209; Mon, 8 Sep 2014 21:24:07 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201409082124.s88LO7AM005209@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Mon, 8 Sep 2014 21:24:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367704 - head/news/nzbget X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 21:24:08 -0000 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 (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 .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%%