diff options
author | tron <tron> | 1999-07-26 19:47:37 +0000 |
---|---|---|
committer | tron <tron> | 1999-07-26 19:47:37 +0000 |
commit | 2ff0920cb9702f4f4ddcb402304b3562aa24e0bf (patch) | |
tree | 31ce46bb3a9ded6b7247ef7dcac16e37e08c7623 /news/nn/Makefile | |
parent | b5bd5191bf49da1314d1fcf8fb60bde42a709047 (diff) | |
download | pkgsrc-2ff0920cb9702f4f4ddcb402304b3562aa24e0bf.tar.gz |
New variable "USE_INN" to use "inn" instead of "nntclnt" to provide
"inews" binary for newsreaders.
Diffstat (limited to 'news/nn/Makefile')
-rw-r--r-- | news/nn/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile index b8584fc57c3..4ac9025ea6c 100644 --- a/news/nn/Makefile +++ b/news/nn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1998/06/22 13:00:14 agc Exp $ +# $NetBSD: Makefile,v 1.6 1999/07/26 19:47:37 tron Exp $ # $FreeBSD Id: Makefile,v 1.14 1997/07/30 18:17:48 adam Exp # @@ -10,7 +10,13 @@ MASTER_SITES= ftp://uniwa.uwa.edu.au/pub/nn/old/beta/ \ MAINTAINER= tron@netbsd.org -DEPENDS= nntpclnt-1.6.1:../../news/nntpclnt +.include <../../mk/bsd.prefs.mk> + +.if defined(USE_INN) && ${USE_INN} == YES +DEPENDS= inn-2.2:../inn +.else +DEPENDS= nntpclnt-1.6.1:../nntpclnt +.endif post-extract: @${MV} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h |