pkgsrc/news/nntpcache/Makefile
2007-03-24 19:21:18 +00:00

37 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2007/03/24 19:21:31 joerg Exp $
DISTNAME= nntpcache-3.0.2
CATEGORIES= news
MASTER_SITES= http://www.nntpcache.com/pub/nntpcache/ \
ftp://ftp.cs.tu-berlin.de/pub/net/news/nntpcache/ \
ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/news/nntpcache/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.nntpcache.com/
COMMENT= NNTP multi-server caching daemon
LICENSE= fee-based-commercial-use
.include "options.mk"
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/spool
CONFIGURE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
USE_TOOLS+= gmake
BUILD_DEFS+= VARBASE
INSTALL_TARGET= SUBDIRS="cf src filters http doc pgp contrib/newshound contrib/perlnewshound innreport scripts unixauth" \
install
INSTALLATION_DIRS= libexec share/doc/nntpcache
post-configure:
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
${FILESDIR}/nntpcached.rc > ${WRKSRC}/nntpcached.sh
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/rc.d
${INSTALL_SCRIPT} ${WRKSRC}/nntpcached.sh ${PREFIX}/etc/rc.d/nntpcached
cd ${WRKSRC} && ${INSTALL_DATA} README INSTALL FAQ FAQ.html LICENSING \
README.INN README.pam ChangeLog ${PREFIX}/share/doc/nntpcache/
.include "../../mk/bsd.pkg.mk"