diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
commit | 41aa6da5cb9b0a946c208eb3858b4455ac8462d1 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/chef | |
parent | 4183b9ede0b9da530e4bad07b6e52bf91b8c2d66 (diff) | |
download | pkgsrc-41aa6da5cb9b0a946c208eb3858b4455ac8462d1.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/Makefile | 5 |
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" |