diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-12-28 00:20:16 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-12-28 00:20:16 +0800 |
commit | d29d63d76ede773aeca17fc46f609d4f1f69990a (patch) | |
tree | fdee1ba653b9045900d614bcb37f723f85cb15e3 /news | |
parent | 4cec775a2a77f0a3740b53c1655af9b399866b5d (diff) | |
download | freebsd-ports-gnome-d29d63d76ede773aeca17fc46f609d4f1f69990a.tar.gz freebsd-ports-gnome-d29d63d76ede773aeca17fc46f609d4f1f69990a.tar.zst freebsd-ports-gnome-d29d63d76ede773aeca17fc46f609d4f1f69990a.zip |
- new option INETD
Diffstat (limited to 'news')
-rw-r--r-- | news/nntp/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/news/nntp/Makefile b/news/nntp/Makefile index c6ffce2c1b25..43ffed7cfc71 100644 --- a/news/nntp/Makefile +++ b/news/nntp/Makefile @@ -37,15 +37,21 @@ MAKE_ENV+= ETCDIR="${STAGEDIR}${PREFIX}/sbin" 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}=" \ |