2000-09-10 01:26:46 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2000/09/09 23:26:46 wiz 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
|
2000-09-10 01:26:46 +02:00
|
|
|
MASTER_SITES= ftp://ftp.gw.com/pub/unix/news/nn/ \
|
|
|
|
ftp://ftp.visi.com/users/mtpins/nn/
|
1998-05-20 00:26:39 +02:00
|
|
|
|
1999-09-14 16:07:43 +02:00
|
|
|
MAINTAINER= packages@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
|
2000-02-28 00:37:53 +01:00
|
|
|
DEPENDS= inn>=2.2:../inn
|
1999-07-26 21:47:37 +02:00
|
|
|
.else
|
|
|
|
DEPENDS= nntpclnt-1.6.1:../nntpclnt
|
|
|
|
.endif
|
1998-05-22 10:51:32 +02:00
|
|
|
|
1999-09-20 23:43:32 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
SFILE= s-sunos5.h
|
|
|
|
.elif ${OPSYS} == "Linux"
|
|
|
|
SFILE= s-linux.h
|
|
|
|
.else
|
|
|
|
SFILE= s-netbsd.h
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${LOWER_ARCH} == "i386"
|
|
|
|
MFILE= m-i80386.h
|
|
|
|
.else
|
|
|
|
MFILE= m-${LOWER_ARCH}.h
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAKE_ENV+= CC="${CC}"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${SED} -e ' \
|
|
|
|
s#@PREFIX@#${PREFIX}#; \
|
|
|
|
s#@BINOWN@#${BINOWN}#; \
|
|
|
|
s#@BINGRP@#${BINGRP}#; \
|
|
|
|
s#@MFILE@#${MFILE}#; \
|
|
|
|
s#@SFILE@#${SFILE}#' \
|
|
|
|
<${WRKSRC}/config.h-dist >${WRKSRC}/config.h
|
|
|
|
@${CP} ${FILESDIR}/s-netbsd.h ${WRKSRC}/conf/s-netbsd.h
|
2000-09-10 01:26:46 +02:00
|
|
|
@${CP} ${WRKSRC}/conf/m-m680x0.h ${WRKSRC}/conf/m-m68k.h
|
1998-05-19 22:45:52 +02:00
|
|
|
|
1999-08-18 11:08:10 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|