258b808c9f
Remove redundant (and sometimes erroneous) comments.
30 lines
801 B
Makefile
30 lines
801 B
Makefile
# $NetBSD: Makefile,v 1.4 1998/04/15 10:38:41 agc Exp $
|
|
#
|
|
|
|
DISTNAME= nntpclnt-1.6.1
|
|
CATEGORIES= news
|
|
MASTER_SITES= ftp://ftp.uu.net/networking/news/nntp/
|
|
|
|
MAINTAINER= tv@netbsd.org
|
|
|
|
ALL_TARGET= inews
|
|
|
|
MAN3= nntpclnt.3
|
|
|
|
do-configure:
|
|
${SED} -e s,@PREFIX@,${PREFIX}, ${FILESDIR}/config.sh >${WRKSRC}/config.sh
|
|
@cd ${WRKSRC} && sh Makefile.SH && sh config.h.SH
|
|
|
|
post-build:
|
|
cd ${WRKSRC} && \
|
|
${AR} clq libnntpclnt.a nntpclnt.o && ${RANLIB} libnntpclnt.a
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} -g news -m 2555 ${WRKSRC}/inews ${PREFIX}/bin/
|
|
${INSTALL_DATA} ${WRKSRC}/nntp.h ${PREFIX}/include/
|
|
${INSTALL_DATA} ${WRKSRC}/libnntpclnt.a ${PREFIX}/lib/
|
|
${INSTALL_DATA} ${WRKSRC}/nntpclnt.3 ${PREFIX}/man/man3/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/etc/nntp
|
|
${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|