summaryrefslogtreecommitdiff
path: root/news/nntpcache/Makefile
blob: 400affbd133b59d9aabdf4efda10788536704182 (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.7.1
# Date created:		6 January 1997
# Whom:			proff@suburbia.net
#
# $Id: Makefile,v 1.5 1997/04/09 07:16:39 asami Exp $
#

DISTNAME=	nntpcache-1.0.7.1
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>