summaryrefslogtreecommitdiff
path: root/news/nn/Makefile
blob: 6e94dc3b2eb0ec747a0bcb8c2083f706d1ca9419 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:	nn
# Version required:	6.5.0
# Date created:		24 September 1994
# Whom:			adam
#
# $Id: Makefile,v 1.18 1999/04/16 08:52:24 mharo Exp $
#

DISTNAME=	nn-6.5.3
CATEGORIES=	news
MASTER_SITES=	ftp://ftp.visi.com/users/mtpins/ \
		ftp://maroon.webmaster.com/pub/nn/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=     ports@FreeBSD.ORG

MAN1=		nn.1 nncheck.1 nngoback.1 nngrab.1  nngrep.1 nnpost.1 \
		nntidy.1 nnview.1 nnacct.1m nnadmin.1m nnstats.1m nnusage.1m
MAN8=		nnmaster.8 nnspew.8

pre-patch:
	@${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h

pre-build:
	@${CP} ${FILESDIR}/s-freebsd.h ${WRKSRC}/conf

post-build:
	[ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} all )

pre-install:
	${MKDIR} ${PREFIX}/news
	[ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} install )

post-install:
	@${ECHO} Put your NNTP host into ${PREFIX}/etc/nntpserver file

.include <bsd.port.mk>