2005-03-24 22:12:50 +01:00
|
|
|
# $NetBSD: Makefile,v 1.24 2005/03/24 21:12:59 wiz Exp $
|
1998-05-19 22:45:52 +02:00
|
|
|
|
2002-07-08 04:21:18 +02:00
|
|
|
DISTNAME= nn-6.6.4
|
2004-05-03 14:56:10 +02:00
|
|
|
PKGREVISION= 1
|
1998-05-19 22:45:52 +02:00
|
|
|
CATEGORIES= news
|
2004-12-25 07:39:42 +01:00
|
|
|
MASTER_SITES= ftp://ftp.nndev.org/pub/nn-6.6/ \
|
2002-07-08 04:21:18 +02:00
|
|
|
ftp://ftp.nndev.org/pub/nn-6.6/old/
|
1998-05-20 00:26:39 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= NN newsreader
|
1998-05-19 22:45:52 +02:00
|
|
|
|
2004-05-03 14:56:10 +02:00
|
|
|
PKG_SYSCONFSUBDIR= nntp
|
|
|
|
|
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
|
|
|
|
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
|
2004-05-03 14:56:10 +02:00
|
|
|
.elif ${LOWER_ARCH} == "mipseb"
|
2004-03-22 11:25:26 +01:00
|
|
|
MFILE= m-mipsel.h
|
1999-09-20 23:43:32 +02:00
|
|
|
.else
|
|
|
|
MFILE= m-${LOWER_ARCH}.h
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAKE_ENV+= CC="${CC}"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${SED} -e ' \
|
|
|
|
s#@PREFIX@#${PREFIX}#; \
|
2004-05-03 14:56:10 +02:00
|
|
|
s#@PKG_SYSCONFDIR@#${PKG_SYSCONFDIR}#; \
|
1999-09-20 23:43:32 +02:00
|
|
|
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
|
2002-03-14 00:07:29 +01:00
|
|
|
@${CP} ${FILESDIR}/m-powerpc.h ${WRKSRC}/conf/m-powerpc.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"
|