aboutsummaryrefslogtreecommitdiffstats
path: root/news/nntpcache/Makefile
blob: 9f4b840796ad0027752d19cecbaa257b881794ba (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:    nntpcache
# Version required: 1.0.5
# Date created:     6 January 1997
# Whom:         proff@suburbia.net
#
# $Id: Makefile,v 1.3 1997/02/17 01:47:57 obrien Exp $
#

DISTNAME=   nntpcache-1.0.5
CATEGORIES= news
MASTER_SITES=   ftp://nntpcache.org/pub/nntpcache/ \
        ftp://ftp.ntnu.no/pub/unix/news/ \
        ftp://ftp.nethelp.no/pub/unix/news/ \
        ftp://suburbia.net/pub/nntpcache/

MAINTAINER= nntpcache@nntpcache.org

GNU_CONFIGURE=  TRUE
CONFIGURE_ARGS+=    --localstatedir=/var/spool
MAN8=       nntpcache.8

post-configure:
    @sed -e "s:%%PREFIX%%:${PREFIX}:g"  \
        ${FILESDIR}/nntpcached.rc > ${WRKSRC}/nntpcached.sh

post-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/nntpcached.sh ${PREFIX}/etc/rc.d
    @-${RM} ${PREFIX}/etc/nntpcache/*.bak

.include <bsd.port.mk>