summaryrefslogtreecommitdiff
path: root/news/nn/Makefile
blob: b0cbe7e30baebb72f8b87481329c8b867de4ed11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.8 1999/08/22 22:55:45 kim Exp $
# FreeBSD Id: Makefile,v 1.14 1997/07/30 18:17:48 adam Exp
#

DISTNAME=	nn-6.5.4
CATEGORIES=	news
MASTER_SITES=	ftp://ftp.gw.com/pub/unix/news/nn/

MAINTAINER=     tron@netbsd.org

BUILD_DEFS+=	USE_INN

.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
	@${SED} -e 's#@@PREFIX@@#${PREFIX}#; \
	  s#@@BINOWN@@#${BINOWN}#; \
	  s#@@BINGRP@@#${BINGRP}#' \
	  <${FILESDIR}/s-netbsd.h >${WRKSRC}/conf/s-netbsd.h

.include "../../mk/bsd.pkg.mk"