diff options
Diffstat (limited to 'www/calamaris/Makefile')
-rw-r--r-- | www/calamaris/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/www/calamaris/Makefile b/www/calamaris/Makefile index 6664d13cd13..e57a3005ce8 100644 --- a/www/calamaris/Makefile +++ b/www/calamaris/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/01/07 09:14:15 rillig Exp $ +# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:41 joerg Exp $ # DISTNAME= calamaris-2.58 @@ -9,18 +9,19 @@ 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 +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/calamaris do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/calamaris ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/calamaris.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/calamaris + ${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} ${PREFIX}/share/doc/calamaris + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DESTDIR}${PREFIX}/share/doc/calamaris .endfor .include "../../mk/bsd.pkg.mk" |