1997-01-06 10:28:33 -05:00
|
|
|
# New ports collection makefile for: nntpcache
|
|
|
|
# Date created: 6 January 1997
|
|
|
|
# Whom: proff@suburbia.net
|
|
|
|
#
|
1999-08-30 10:33:04 -04:00
|
|
|
# $FreeBSD$
|
1997-01-06 10:28:33 -05:00
|
|
|
#
|
|
|
|
|
2000-04-09 13:33:32 -04:00
|
|
|
PORTNAME= nntpcache
|
|
|
|
PORTVERSION= 2.4.0b2
|
1997-01-07 01:46:50 -05:00
|
|
|
CATEGORIES= news
|
1997-03-06 19:25:18 -05:00
|
|
|
MASTER_SITES= ftp://nntpcache.org/pub/nntpcache/ \
|
2000-02-14 05:19:40 -05:00
|
|
|
ftp://ftp.ntnu.no/pub/unix/news/nntpcache/ \
|
1997-03-06 19:25:18 -05:00
|
|
|
ftp://ftp.nethelp.no/pub/unix/news/ \
|
|
|
|
ftp://suburbia.net/pub/nntpcache/
|
1997-01-06 10:28:33 -05:00
|
|
|
|
|
|
|
MAINTAINER= nntpcache@nntpcache.org
|
|
|
|
|
1998-01-28 23:04:34 -05:00
|
|
|
BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp
|
|
|
|
|
1997-01-07 01:46:50 -05:00
|
|
|
GNU_CONFIGURE= TRUE
|
1997-12-23 20:21:47 -05:00
|
|
|
CONFIGURE_ARGS= --localstatedir=/var/spool
|
1998-01-28 23:04:34 -05:00
|
|
|
MAN8= nntpcached.8 newshound.8
|
|
|
|
DOCS= AUTHORS ChangeLog FAQ FAQ.html HACKING \
|
|
|
|
INSTALL LICENSING NEWS README README.INN VERSION
|
1998-01-25 11:52:56 -05:00
|
|
|
|
|
|
|
USE_GMAKE= TRUE
|
1997-01-07 01:46:50 -05:00
|
|
|
|
1997-02-16 20:48:09 -05:00
|
|
|
post-configure:
|
1998-01-28 23:04:34 -05:00
|
|
|
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
|
1997-02-16 20:48:09 -05:00
|
|
|
${FILESDIR}/nntpcached.rc > ${WRKSRC}/nntpcached.sh
|
|
|
|
|
|
|
|
post-install:
|
1998-01-28 23:04:34 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/nntpcache
|
|
|
|
for i in ${DOCS}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/nntpcache; \
|
|
|
|
done
|
|
|
|
.endif
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/nntpcached.sh \
|
|
|
|
${PREFIX}/etc/rc.d/nntpcached.sh.sample
|
|
|
|
@${SED} -e 's#/usr/local#${PREFIX}#' ${PKGDIR}/MESSAGE
|
1997-02-16 20:48:09 -05:00
|
|
|
|
1998-01-31 22:04:12 -05:00
|
|
|
hardlink-pgp-files:
|
|
|
|
for i in ${PREFIX}/etc/nntpcache/*asc-dist ${PREFIX}/etc/nntpcache/*pgp-dist ; do \
|
1999-08-27 22:17:34 -04:00
|
|
|
j=`${ECHO} $$i | ${SED} -e 's/-dist//'`; \
|
1998-01-31 22:04:12 -05:00
|
|
|
if [ \! -f $$j ]; then \
|
1999-08-27 21:58:05 -04:00
|
|
|
${LN} $$i $$j; \
|
1998-01-31 22:04:12 -05:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
1997-01-06 10:28:33 -05:00
|
|
|
.include <bsd.port.mk>
|