Date: Fri, 27 Dec 2013 16:20:17 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337746 - head/news/nntp Message-ID: <201312271620.rBRGKHuG008951@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> +.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}=" \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312271620.rBRGKHuG008951>