1997-01-06 15:28:33 +00:00
|
|
|
# New ports collection makefile for: nntpcache
|
1998-02-01 03:04:12 +00:00
|
|
|
# Version required: 2.3.2
|
1997-01-06 15:28:33 +00:00
|
|
|
# Date created: 6 January 1997
|
|
|
|
# Whom: proff@suburbia.net
|
|
|
|
#
|
1999-08-30 14:33:04 +00:00
|
|
|
# $FreeBSD$
|
1997-01-06 15:28:33 +00:00
|
|
|
#
|
|
|
|
|
2000-02-14 10:19:40 +00:00
|
|
|
DISTNAME= nntpcache-2.4.0b2
|
1997-01-07 06:46:50 +00:00
|
|
|
CATEGORIES= news
|
1997-03-07 00:25:18 +00:00
|
|
|
MASTER_SITES= ftp://nntpcache.org/pub/nntpcache/ \
|
2000-02-14 10:19:40 +00:00
|
|
|
ftp://ftp.ntnu.no/pub/unix/news/nntpcache/ \
|
1997-03-07 00:25:18 +00:00
|
|
|
ftp://ftp.nethelp.no/pub/unix/news/ \
|
|
|
|
ftp://suburbia.net/pub/nntpcache/
|
1997-01-06 15:28:33 +00:00
|
|
|
|
|
|
|
MAINTAINER= nntpcache@nntpcache.org
|
|
|
|
|
1998-01-29 04:04:34 +00:00
|
|
|
BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp
|
|
|
|
|
1997-01-07 06:46:50 +00:00
|
|
|
GNU_CONFIGURE= TRUE
|
1997-12-24 01:21:47 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=/var/spool
|
1998-01-29 04:04:34 +00:00
|
|
|
MAN8= nntpcached.8 newshound.8
|
|
|
|
DOCS= AUTHORS ChangeLog FAQ FAQ.html HACKING \
|
|
|
|
INSTALL LICENSING NEWS README README.INN VERSION
|
1998-01-25 16:52:56 +00:00
|
|
|
|
|
|
|
USE_GMAKE= TRUE
|
1997-01-07 06:46:50 +00:00
|
|
|
|
1997-02-17 01:48:09 +00:00
|
|
|
post-configure:
|
1998-01-29 04:04:34 +00:00
|
|
|
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
|
1997-02-17 01:48:09 +00:00
|
|
|
${FILESDIR}/nntpcached.rc > ${WRKSRC}/nntpcached.sh
|
|
|
|
|
|
|
|
post-install:
|
1998-01-29 04:04:34 +00: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-17 01:48:09 +00:00
|
|
|
|
1998-02-01 03:04:12 +00:00
|
|
|
hardlink-pgp-files:
|
|
|
|
for i in ${PREFIX}/etc/nntpcache/*asc-dist ${PREFIX}/etc/nntpcache/*pgp-dist ; do \
|
1999-08-28 02:17:34 +00:00
|
|
|
j=`${ECHO} $$i | ${SED} -e 's/-dist//'`; \
|
1998-02-01 03:04:12 +00:00
|
|
|
if [ \! -f $$j ]; then \
|
1999-08-28 01:58:05 +00:00
|
|
|
${LN} $$i $$j; \
|
1998-02-01 03:04:12 +00:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
1997-01-06 15:28:33 +00:00
|
|
|
.include <bsd.port.mk>
|