aboutsummaryrefslogtreecommitdiffstats
path: root/news/nn/Makefile
blob: 32f80e1b6dc25277005a52bfc37ac0f54744f683 (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.15 1998/07/20 20:58:13 adam Exp $
#

DISTNAME=   nn-6.5.3
CATEGORIES= news
#MASTER_SITES=  ftp://ftp.isca.uiowa.edu/unix/nn/
MASTER_SITES=   ftp://ftp.visi.com/users/mtpins/
EXTRACT_SUFX=   .tar.Z

MAINTAINER=     ports@FreeBSD.ORG

BROKEN=     checksum

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

pre-install:
    ${MKDIR} ${PREFIX}/news
    [ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} all )
    [ -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>