From owner-svn-ports-head@FreeBSD.ORG Fri Dec 27 16:20:17 2013 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 670E3C6; Fri, 27 Dec 2013 16:20:17 +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 537121B3B; Fri, 27 Dec 2013 16:20:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBRGKHnB008952; Fri, 27 Dec 2013 16:20:17 GMT (envelope-from dinoex@svn.freebsd.org) Received: (from dinoex@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBRGKHuG008951; Fri, 27 Dec 2013 16:20:17 GMT (envelope-from dinoex@svn.freebsd.org) Message-Id: <201312271620.rBRGKHuG008951@svn.freebsd.org> From: Dirk Meyer Date: Fri, 27 Dec 2013 16:20:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337746 - head/news/nntp 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: Fri, 27 Dec 2013 16:20:17 -0000 Author: dinoex Date: Fri Dec 27 16:20:16 2013 New Revision: 337746 URL: http://svnweb.freebsd.org/changeset/ports/337746 Log: - new option INETD Modified: head/news/nntp/Makefile Modified: head/news/nntp/Makefile ============================================================================== --- head/news/nntp/Makefile Fri Dec 27 16:05:36 2013 (r337745) +++ head/news/nntp/Makefile Fri Dec 27 16:20:16 2013 (r337746) @@ -37,15 +37,21 @@ MAKE_ENV+= ETCDIR="${STAGEDIR}${PREFIX}/ MAKE_ENV+= BINDIR="${STAGEDIR}${NEWSBIN}" MAKE_ENV+= MANDIR="${STAGEDIR}${PREFIX}/man" -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= INETD DOCS +NO_OPTIONS_SORT=yes +INETD_DESC= build to run from inetd only .include +.if ${PORT_OPTIONS:MINETD} +ALONE= -e 's|\#define.ALONE|\#undef ALONE|' +.endif + post-extract: ${CP} ${WRKSRC}/conf.h.dist ${WRKSRC}/conf.h pre-configure: - ${REINPLACE_CMD} \ + ${REINPLACE_CMD} ${ALONE} \ -e "s=/usr/local/news/lib/bin/config=${NEWSBIN}/config=" \ -e "s=/usr/local/news/cnewsbin=${NEWSBIN}=" \ -e "s=/usr/local/news/lib=${NEWSCTL}=" \