pkgsrc/news/nn/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.24 2005/03/24 21:12:59 wiz Exp $
1998-05-19 22:45:52 +02:00
DISTNAME= nn-6.6.4
PKGREVISION= 1
1998-05-19 22:45:52 +02:00
CATEGORIES= news
MASTER_SITES= ftp://ftp.nndev.org/pub/nn-6.6/ \
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
COMMENT= NN newsreader
1998-05-19 22:45:52 +02:00
PKG_SYSCONFSUBDIR= nntp
BUILD_DEFS+= USE_INN
.include "../../mk/bsd.prefs.mk"
.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
.elif ${LOWER_ARCH} == "mipseb"
2004-03-22 11:25:26 +01:00
MFILE= m-mipsel.h
.else
MFILE= m-${LOWER_ARCH}.h
.endif
MAKE_ENV+= CC="${CC}"
post-patch:
@${SED} -e ' \
s#@PREFIX@#${PREFIX}#; \
s#@PKG_SYSCONFDIR@#${PKG_SYSCONFDIR}#; \
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
@${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
.include "../../mk/bsd.pkg.mk"