summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-14 08:12:29 +0000
committerjoerg <joerg>2007-06-14 08:12:29 +0000
commitc7802c2d156b716f8789837ca5b8e6ac48d597d6 (patch)
tree6c7817083760c40114a99de065deba946499104d /security
parent77312869fa39c89ec55005815a78ececd7b4581a (diff)
downloadpkgsrc-c7802c2d156b716f8789837ca5b8e6ac48d597d6.tar.gz
Fix DESTDIR support.
Diffstat (limited to 'security')
-rw-r--r--security/audit-packages/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile
index 7598eb76fa8..7902c6c83d5 100644
--- a/security/audit-packages/Makefile
+++ b/security/audit-packages/Makefile
@@ -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 @@ NO_CHECKSUM= yes
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 @@ do-build:
.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; \