3e474a90d8
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
26 lines
677 B
Makefile
26 lines
677 B
Makefile
# $NetBSD: Makefile,v 1.7 2005/07/16 01:19:25 jlam 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 man/man1
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/calamaris ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/calamaris.1 ${PREFIX}/man/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"
|