summaryrefslogtreecommitdiff
path: root/devel/fastdep
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 17:45:33 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 17:45:33 +0000
commit4c8382aec039aefeebaf1aaac5cd7985337ed917 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d /devel/fastdep
parent3a62565eb9471348d02d74145e302b5675905a43 (diff)
downloadpkgsrc-4c8382aec039aefeebaf1aaac5cd7985337ed917.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/fastdep')
-rw-r--r--devel/fastdep/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/fastdep/Makefile b/devel/fastdep/Makefile
index e10f4adcacc..2ebf1a0730b 100644
--- a/devel/fastdep/Makefile
+++ b/devel/fastdep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/07/22 04:46:15 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= fastdep-0.16
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.irule.be/bvh/c++/fastdep/
COMMENT= Dependency generator for C/C++ files
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
@@ -20,6 +22,6 @@ post-extract:
${RM} -f ${WRKSRC}/*.orig
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fastdep ${PREFIX}/bin/fastdep
+ ${INSTALL_PROGRAM} ${WRKSRC}/fastdep ${DESTDIR}${PREFIX}/bin/fastdep
.include "../../mk/bsd.pkg.mk"