summaryrefslogtreecommitdiff
path: root/security/flawfinder
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 16:52:13 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 16:52:13 +0000
commit693ec8bb1691dba5fb19266be3a686bf78df25f8 (patch)
tree9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/flawfinder
parent53e12bf31faa6efecb30c73112ce8bc6ea046721 (diff)
downloadpkgsrc-693ec8bb1691dba5fb19266be3a686bf78df25f8.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"