[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / news / nntpcache

File: [cvs.NetBSD.org] / pkgsrc / news / nntpcache / Makefile (download)

Revision 1.25, Sun Feb 5 23:10:33 2006 UTC (18 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.24: +2 -1 lines

Recursive revision bump / recommended bump for gettext ABI change.

# $NetBSD: Makefile,v 1.25 2006/02/05 23:10:33 joerg Exp $

DISTNAME=		nntpcache-3.0.1
PKGREVISION=		1
CATEGORIES=		news
MASTER_SITES=		ftp://ftp.cs.tu-berlin.de/pub/net/news/nntpcache/ \
			ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/news/nntpcache/

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://www.iq.org/~proff/nntpcache.org/
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

INSTALL_TARGET=		SUBDIRS="cf src filters http doc pgp contrib/newshound contrib/perlnewshound innreport scripts unixauth" \
			install

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/nntpcached
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nntpcache
	cd ${WRKSRC} && ${INSTALL_DATA} README INSTALL FAQ FAQ.html LICENSING \
		README.INN README.pam ChangeLog ${PREFIX}/share/doc/nntpcache/

.include "../../mk/bsd.pkg.mk"