1 # $NetBSD: Makefile,v 1.6 1999/03/10 14:05:40 rh Exp $
2 # FreeBSD Id: Makefile,v 1.11 1998/02/01 03:04:11 itojun Exp
5 DISTNAME= nntpcache-2.4.0b3
7 MASTER_SITES= ftp://ftp.nntpcache.org/pub/nntpcache/ \
8 ftp://ftp.fu-berlin.de/unix/news/nntpcache/ \
9 ftp://ftp.contrib.com/pub/software/unix/news/nntpcache/ \
10 ftp://ftp.eu.net/news/transport/nntpcache/ \
11 ftp://ftp.belgium.eu.net/pub/news/transport/nntpcache/ \
12 ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/news/nntpcache/ \
13 ftp://ftp.faho.rwth-aachen.de/pub/linux/nntpcache/ \
14 ftp://ftp.hway.ru/pub/news/nntpcache/
16 MAINTAINER= packages@netbsd.org
17 HOMEPAGE= http://www.nntpcache.org/
19 LICENSE= fee-based-commercial-use
21 # enable ldap support?
23 # enable pgp signed nocem support?
27 CONFIGURE_ARGS+= --localstatedir=/var/spool
28 CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
31 INSTALL_TARGET= SUBDIRS="cf src filters http doc pgp contrib/newshound innreport scripts unixauth" \
34 .if ${NNTP_USE_LDAP} == yes
35 DEPENDS+= openldap-*:../../databases/openldap
38 .if ${NNTP_USE_PGP} == yes
39 DEPENDS+= pgp-2.*:../../security/pgp2
43 @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
44 ${FILESDIR}/nntpcached.rc > ${WRKSRC}/nntpcached.sh
47 ${INSTALL_SCRIPT} ${WRKSRC}/nntpcached.sh ${PREFIX}/etc/rc.d
48 ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nntpcache
49 cd ${WRKSRC} && ${INSTALL_DATA} README INSTALL FAQ FAQ.html LICENSING \
50 ${PREFIX}/share/doc/nntpcache/
52 .include "../../mk/bsd.pkg.mk"