1999-08-23 12:59:18 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 1999/08/23 10:59:18 tron Exp $
|
1999-08-23 00:55:45 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.14 1997/07/30 18:17:48 adam Exp
|
1998-05-19 22:45:52 +02:00
|
|
|
#
|
|
|
|
|
1999-08-23 00:55:45 +02:00
|
|
|
DISTNAME= nn-6.5.4
|
1998-05-19 22:45:52 +02:00
|
|
|
CATEGORIES= news
|
1999-08-23 12:59:18 +02:00
|
|
|
MASTER_SITES= ftp://ftp.gw.com/pub/unix/news/nn/
|
1998-05-20 00:26:39 +02:00
|
|
|
|
|
|
|
MAINTAINER= tron@netbsd.org
|
1998-05-19 22:45:52 +02:00
|
|
|
|
1999-08-18 11:08:10 +02:00
|
|
|
BUILD_DEFS+= USE_INN
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
1999-07-26 21:47:37 +02:00
|
|
|
|
|
|
|
.if defined(USE_INN) && ${USE_INN} == YES
|
|
|
|
DEPENDS= inn-2.2:../inn
|
|
|
|
.else
|
|
|
|
DEPENDS= nntpclnt-1.6.1:../nntpclnt
|
|
|
|
.endif
|
1998-05-22 10:51:32 +02:00
|
|
|
|
1998-05-20 00:26:39 +02:00
|
|
|
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
|
1998-05-19 22:45:52 +02:00
|
|
|
|
1999-08-18 11:08:10 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|