From 80f8f7c3b3aa5f5f64de1111703eed75cf2b333b Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 20 Jun 2008 01:09:05 +0000 Subject: Add DESTDIR support. --- security/bitstir/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'security/bitstir') diff --git a/security/bitstir/Makefile b/security/bitstir/Makefile index 6f4b30a1155..d93985870ad 100644 --- a/security/bitstir/Makefile +++ b/security/bitstir/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/11/09 11:08:01 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2008/06/20 01:09:33 joerg Exp $ # DISTNAME= bitstir-0.2 @@ -10,12 +10,14 @@ MAINTAINER= pdh@wiredyne.com HOMEPAGE= http://www.wiredyne.com/software/bitstir.html COMMENT= Entropy restoration daemon +PKG_DESTDIR_SUPPORT= user-destdir + ONLY_FOR_PLATFORM= NetBSD-*-* INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - cd ${WRKSRC} && ${INSTALL_PROGRAM} bitstir bits-avail ${PREFIX}/bin - cd ${WRKSRC} && ${INSTALL_MAN} bitstir.8 ${PREFIX}/${PKGMANDIR}/man1/bitstir.1 + cd ${WRKSRC} && ${INSTALL_PROGRAM} bitstir bits-avail ${DESTDIR}${PREFIX}/bin + cd ${WRKSRC} && ${INSTALL_MAN} bitstir.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/bitstir.1 .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3