27 lines
730 B
Makefile
27 lines
730 B
Makefile
# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:41 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= calamaris-2.58
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://cord.de/tools/squid/calamaris/
|
|
|
|
MAINTAINER= rh@NetBSD.org
|
|
HOMEPAGE= http://cord.de/tools/squid/calamaris/
|
|
COMMENT= Squid logfile analyzer
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= perl:run
|
|
REPLACE_PERL= calamaris
|
|
NO_BUILD= YES
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/calamaris
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/calamaris ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/calamaris.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
.for doc in CHANGES COPYRIGHT EXAMPLES README
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${DESTDIR}${PREFIX}/share/doc/calamaris
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|