summaryrefslogtreecommitdiff
path: root/news/nn/Makefile
blob: b7a6a2b7c4201610c192a797bf079639e986e1f9 (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
# New ports collection makefile for:	nn
# Version required:	6.5.0
# Date created:		24 September 1994
# Whom:			adam
#
# $Id: Makefile,v 1.8 1996/03/04 11:27:35 ache 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

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>