pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/destroy +PKG_DESTDIR_SUPPORT= user-destdir



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b67854a86ef6
branches:  trunk
changeset: 568321:b67854a86ef6
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 10 23:40:00 2009 +0000

description:
+PKG_DESTDIR_SUPPORT=  user-destdir

diffstat:

 security/destroy/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 5d1eacb5056d -r b67854a86ef6 security/destroy/Makefile
--- a/security/destroy/Makefile Thu Dec 10 23:30:53 2009 +0000
+++ b/security/destroy/Makefile Thu Dec 10 23:40:00 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/05/01 13:45:28 zafer Exp $
+# $NetBSD: Makefile,v 1.9 2009/12/10 23:40:00 abs Exp $
 #
 
 DISTNAME=      destroy-20040415
@@ -10,9 +10,10 @@
 COMMENT=       Program to securely destroy files on the hard disk
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/destroy ${PREFIX}/bin
-       ${INSTALL_MAN} ${WRKSRC}/destroy.1 ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_PROGRAM} ${WRKSRC}/destroy ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/destroy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index