From owner-svn-ports-head@FreeBSD.ORG Sat Feb 8 13:10:59 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A89CD80; Sat, 8 Feb 2014 13:10:59 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 071581A98; Sat, 8 Feb 2014 13:10:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s18DAwN6091254; Sat, 8 Feb 2014 13:10:58 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s18DAw6W091248; Sat, 8 Feb 2014 13:10:58 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201402081310.s18DAw6W091248@svn.freebsd.org> From: Johan van Selst Date: Sat, 8 Feb 2014 13:10:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343326 - head/news/nn 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.17 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: Sat, 08 Feb 2014 13:10:59 -0000 Author: johans Date: Sat Feb 8 13:10:58 2014 New Revision: 343326 URL: http://svnweb.freebsd.org/changeset/ports/343326 QAT: https://qat.redports.org/buildarchive/r343326/ Log: Enable stage support Modified: head/news/nn/Makefile head/news/nn/pkg-install head/news/nn/pkg-plist Modified: head/news/nn/Makefile ============================================================================== --- head/news/nn/Makefile Sat Feb 8 13:06:37 2014 (r343325) +++ head/news/nn/Makefile Sat Feb 8 13:10:58 2014 (r343326) @@ -14,21 +14,14 @@ COMMENT= Newsreader MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -Iconf" LDFLAGS="${LDFLAGS} -s" -MAN1= nn.1 nncheck.1 nngoback.1 nngrab.1 nngrep.1 nnpost.1 \ - nntidy.1 nnview.1 nnacct.1m nnadmin.1m nnstats.1m nnusage.1m -MAN8= nnmaster.8 nnspew.8 - -NO_STAGE= yes -.include - pre-patch: @${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h.unparsed pre-build: - @${CAT} ${WRKSRC}/config.h.unparsed | ${SED} -e "s#SUB_PREFIX#${PREFIX}#" \ - | ${SED} -e "s#SUB_MANPREFIX#${MANPREFIX}#" > ${WRKSRC}/config.h + @${SED} 's#SUB_PREFIX#${PREFIX}#; s#SUB_MANPREFIX#${MANPREFIX}#' \ + ${WRKSRC}/config.h.unparsed > ${WRKSRC}/config.h -post-install: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${DISTNAME} POST-INSTALL +post-build: + @${REINPLACE_CMD} 's#${PREFIX}#$${DESTDIR}&#' ${WRKSRC}/inst -.include +.include Modified: head/news/nn/pkg-install ============================================================================== --- head/news/nn/pkg-install Sat Feb 8 13:06:37 2014 (r343325) +++ head/news/nn/pkg-install Sat Feb 8 13:10:58 2014 (r343326) @@ -5,6 +5,7 @@ if [ "x$2" != "xPOST-INSTALL" ]; then fi cat << xxENDxx + ******************************************************************* You have just installed the $1 package Modified: head/news/nn/pkg-plist ============================================================================== --- head/news/nn/pkg-plist Sat Feb 8 13:06:37 2014 (r343325) +++ head/news/nn/pkg-plist Sat Feb 8 13:10:58 2014 (r343326) @@ -11,11 +11,8 @@ bin/nnpost bin/nnbatch bin/nnview @unexec if cmp -s %D/etc/nntp_domain %D/etc/nntp_domain.dist; then rm -f %D/etc/nntp_domain; fi -etc/nntp_domain.dist -@exec [ -f %B/nntp_domain ] || cp %B/%f %B/nntp_domain @unexec if cmp -s %D/etc/nntp_server %D/etc/nntp_server.dist; then rm -f %D/etc/nntp_server; fi -etc/nntp_server.dist -@exec [ -f %B/nntp_server ] || cp %B/%f %B/nntp_server +@unexec rm -f %D/etc/nntp_domain.dist %D/etc/nntp_server.dist lib/nn/aux lib/nn/upgrade_rc lib/nn/conf @@ -37,5 +34,19 @@ lib/nn/help/help.show lib/nn/help/help.sort lib/nn/help/help.variables lib/nn/help/Manual +man/man1/nn.1.gz +man/man1/nnacct.1m.gz +man/man1/nnadmin.1m.gz +man/man1/nncheck.1.gz +man/man1/nngoback.1.gz +man/man1/nngrab.1.gz +man/man1/nngrep.1.gz +man/man1/nnpost.1.gz +man/man1/nnstats.1m.gz +man/man1/nntidy.1.gz +man/man1/nnusage.1m.gz +man/man1/nnview.1.gz +man/man8/nnmaster.8.gz +man/man8/nnspew.8.gz @dirrm lib/nn/help @dirrm lib/nn