summaryrefslogtreecommitdiff
path: root/security/pscan
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /security/pscan
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/pscan')
-rw-r--r--security/pscan/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/pscan/Makefile b/security/pscan/Makefile
index 7ca2d815ca1..158fccc1b0d 100644
--- a/security/pscan/Makefile
+++ b/security/pscan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/12/02 08:32:25 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:45 joerg Exp $
DISTNAME= pscan
PKGNAME= pscan-1.3
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.striker.ottawa.on.ca/~aland/pscan/
COMMENT= Security C code scanner for misuse of format strings
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= pscan
USE_TOOLS+= lex
@@ -16,7 +18,7 @@ USE_TOOLS+= lex
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pscan ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/find_formats.sh ${PREFIX}/bin/find_formats
+ ${INSTALL_PROGRAM} ${WRKSRC}/pscan ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/find_formats.sh ${DESTDIR}${PREFIX}/bin/find_formats
.include "../../mk/bsd.pkg.mk"