pkgsrc/www/calamaris/Makefile
rillig 2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00

26 lines
697 B
Makefile

# $NetBSD: Makefile,v 1.8 2007/01/07 09:14:15 rillig 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
USE_TOOLS+= perl:run
REPLACE_PERL= calamaris
NO_BUILD= YES
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/calamaris ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/calamaris.1 ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/calamaris
.for doc in CHANGES COPYRIGHT EXAMPLES README
${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/calamaris
.endfor
.include "../../mk/bsd.pkg.mk"