aboutsummaryrefslogtreecommitdiffstats
path: root/news/nn/Makefile
blob: d3940c7ae24d4ae9418732de1b967ebc7ec04ac1 (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
# New ports collection makefile for:    nn
# Date created:     24 September 1994
# Whom:         adam
#
# $FreeBSD$
#

PORTNAME=   nn
PORTVERSION=    6.5.6
CATEGORIES= news
MASTER_SITES=   ftp://ftp.visi.com/users/mtpins/nn/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= jooji@nickelkid.com

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.unparsed

pre-build:
    @${CAT} ${WRKSRC}/config.h.unparsed | ${SED} -e "s#SUB_PREFIX#${PREFIX}#" \
        | ${SED} -e "s#SUB_MANPREFIX#${MANPREFIX}#" > ${WRKSRC}/config.h

post-install:
    @PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL

.include <bsd.port.mk>