summaryrefslogtreecommitdiff
path: root/security/bitstir
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /security/bitstir
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/bitstir')
-rw-r--r--security/bitstir/Makefile8
1 files changed, 5 insertions, 3 deletions
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"