pkgsrc/news/nn/Makefile

59 lines
1.4 KiB
Makefile
Raw Normal View History

2017-01-04 23:34:47 +01:00
# $NetBSD: Makefile,v 1.49 2017/01/04 22:34:47 roy Exp $
1998-05-19 22:45:52 +02:00
DISTNAME= nn-6.7.3
2017-01-04 23:34:47 +01:00
PKGREVISION= 5
1998-05-19 22:45:52 +02:00
CATEGORIES= news
2006-10-15 12:27:53 +02:00
MASTER_SITES= ftp://ftp.nndev.org/pub/nn-6.7/
EXTRACT_SUFX= .tar.Z
1998-05-20 00:26:39 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
2010-03-13 06:05:51 +01:00
HOMEPAGE= http://www.nndev.org/
COMMENT= NN newsreader
1998-05-19 22:45:52 +02:00
PKG_SYSCONFSUBDIR= nntp
TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
2016-02-25 17:20:49 +01:00
CPPFLAGS.IRIX+= -DHAVE_TERMIO_H
2016-02-25 17:20:49 +01:00
OPSYSVARS+= SFILE
SFILE.SunOS= s-sunos5.h
SFILE.Linux= s-linux.h
SFILE.*= s-netbsd.h
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386"
MFILE= m-i80386.h
.elif ${MACHINE_ARCH} == "mipseb"
2004-03-22 11:25:26 +01:00
MFILE= m-mipsel.h
.else
MFILE= m-${MACHINE_ARCH}.h
.endif
2007-03-24 20:21:18 +01:00
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
post-patch:
@${SED} -e ' \
s#@PREFIX@#${PREFIX}#; \
s#@PKG_SYSCONFDIR@#${PKG_SYSCONFDIR}#; \
s#@PKGMANDIR@#${PKGMANDIR}#; \
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
2009-11-30 01:38:47 +01:00
@${CP} ${FILESDIR}/m-x86_64.h ${WRKSRC}/conf/m-x86_64.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
2012-04-07 13:47:19 +02:00
SUBST_CLASSES+= fix-dest
SUBST_STAGE.fix-dest= post-build
SUBST_SED.fix-dest= -e 's,${PREFIX},${DESTDIR}${PREFIX},'
SUBST_FILES.fix-dest= inst
2017-01-04 23:34:47 +01:00
.include "../../mk/terminfo.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"