summaryrefslogtreecommitdiff
path: root/converters/chef
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 05:51:07 +0000
committerjlam <jlam>2008-03-03 05:51:07 +0000
commitc2f2c30967ebdcd9120a391abfb655a190302a51 (patch)
tree4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/chef
parente86a3ba39061980160972e0fd2948b67acb7f5af (diff)
downloadpkgsrc-c2f2c30967ebdcd9120a391abfb655a190302a51.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/chef')
-rw-r--r--converters/chef/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/converters/chef/Makefile b/converters/chef/Makefile
index 4f9bafaeffc..d23a29d514a 100644
--- a/converters/chef/Makefile
+++ b/converters/chef/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/01/18 11:51:33 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 05:51:08 jlam Exp $
#
DISTNAME= chef-19920415
@@ -11,6 +11,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Convert from English to (mock) Swedish - Bork Bork Bork!
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
USE_TOOLS+= lex
@@ -28,6 +29,6 @@ do-build:
${LINK.c} -o ${WRKSRC}/chef ${WRKSRC}/lex.yy.c -ll
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/chef ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/chef ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"