pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/audit-packages Fix DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2cac9a2b2d26
branches:  trunk
changeset: 529970:2cac9a2b2d26
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jun 14 08:12:29 2007 +0000

description:
Fix DESTDIR support.

diffstat:

 security/audit-packages/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 59bf21f037b6 -r 2cac9a2b2d26 security/audit-packages/Makefile
--- a/security/audit-packages/Makefile  Thu Jun 14 06:02:06 2007 +0000
+++ b/security/audit-packages/Makefile  Thu Jun 14 08:12:29 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2006/12/10 13:06:45 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.76 2007/06/14 08:12:29 joerg Exp $
 
 DISTNAME=      audit-packages-1.46
 CATEGORIES=    security pkgtools
@@ -21,7 +21,8 @@
 OWN_DIRS=      ${PKGVULNDIR}
 MAN8DIR=       ${PREFIX}/${PKGMANDIR}/man8
 CAT8DIR=       ${PREFIX}/${PKGMANDIR}/cat8
-INSTALLATION_DIRS=     ${CAT8DIR} ${MAN8DIR} sbin
+INSTALLATION_DIRS=     ${CAT8DIR} ${MAN8DIR} sbin \
+                       share/examples/audit-packages
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -72,10 +73,8 @@
 .endif
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/audit-packages
-
        ${INSTALL_DATA} ${FILESDIR}/audit-packages.conf \
-               ${PREFIX}/share/examples/audit-packages
+               ${DESTDIR}${PREFIX}/share/examples/audit-packages
 
        for f in audit-packages download-vulnerability-list; do \
                ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/sbin; \



Home | Main Index | Thread Index | Old Index