From 33186421f8c444f31146da42048bc1f931ec5b81 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 27 Jan 2010 16:52:13 +0000 Subject: DESTDIR support --- security/flawfinder/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'security/flawfinder/Makefile') 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" -- cgit v1.2.3