summaryrefslogtreecommitdiff
path: root/news/nn/Makefile
blob: 666357746f37b244afd6d0e83e956781a6d282dd (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
# New ports collection makefile for:	nn
# Version required:	6.5.0
# Date created:		24 September 1994
# Whom:			adam
#
# $Id: Makefile,v 1.9 1996/11/18 11:37:47 asami Exp $
#

DISTNAME=	nn-6.5.0.b3
PKGNAME=	nn-6.5.0
CATEGORIES=	news
MASTER_SITES=	ftp://uniwa.uwa.edu.au/pub/nn/beta/
MAINTAINER=     ache@FreeBSD.ORG

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

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

pre-build:
	@cp ${.CURDIR}/files/s-freebsd.h ${WRKSRC}/conf

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

post-install:
	@echo Put your NNTP host into ${PREFIX}/lib/news/nntp_server file

.include <bsd.port.mk>