summaryrefslogtreecommitdiff
path: root/security/flawfinder
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 16:52:13 +0000
committerjoerg <joerg>2010-01-27 16:52:13 +0000
commit3e260982685001c528721ed091cb7168a8fea3e4 (patch)
tree9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/flawfinder
parentfdda69261d45ec9a6f1f1ae0abb87118c83d44e3 (diff)
downloadpkgsrc-3e260982685001c528721ed091cb7168a8fea3e4.tar.gz
DESTDIR support
Diffstat (limited to 'security/flawfinder')
-rw-r--r--security/flawfinder/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/flawfinder/Makefile b/security/flawfinder/Makefile
index 5c0d2a20d9b..30a1dd42fbe 100644
--- a/security/flawfinder/Makefile
+++ b/security/flawfinder/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2009/02/09 22:56:26 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2010/01/27 17:21:29 joerg Exp $
DISTNAME= flawfinder-1.27
PKGREVISION= 1
@@ -9,13 +9,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dwheeler.com/flawfinder/
COMMENT= Python program to find flaws in C/C++ programs
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
PYTHON_PATCH_SCRIPTS= flawfinder
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"