pkgsrc/news/nn/Makefile

50 lines
1 KiB
Makefile
Raw Normal View History

2000-09-10 01:26:46 +02:00
# $NetBSD: Makefile,v 1.14 2000/09/09 23:26:46 wiz Exp $
# FreeBSD Id: Makefile,v 1.14 1997/07/30 18:17:48 adam Exp
1998-05-19 22:45:52 +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
MAINTAINER= packages@netbsd.org
1998-05-19 22:45:52 +02:00
BUILD_DEFS+= USE_INN
.include "../../mk/bsd.prefs.mk"
.if defined(USE_INN) && ${USE_INN} == YES
2000-02-28 00:37:53 +01:00
DEPENDS= inn>=2.2:../inn
.else
DEPENDS= nntpclnt-1.6.1:../nntpclnt
.endif
.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
.include "../../mk/bsd.pkg.mk"