diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | d8368bbc25c90072a19b5e48f0fba26251b6877f (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /www/calamaris | |
parent | f1b924fda77b6920565e56f54c9391b4dc68f8ca (diff) | |
download | pkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'www/calamaris')
-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" |