summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-09-21 17:14:39 +0000
committerjoerg <joerg@pkgsrc.org>2007-09-21 17:14:39 +0000
commit7a57e890e0b216a2bfd375f93a1312ccfa2f3168 (patch)
tree3ab0a4816b9bd440d2b37cfeacdb9e2787a3cf45
parent7c5ec538a9567faf4f9a07fae2fe31d5511ea6d1 (diff)
downloadpkgsrc-7a57e890e0b216a2bfd375f93a1312ccfa2f3168.tar.gz
Fix spelling of variable and add DESTDIR support.
-rw-r--r--pkgtools/bootstrap-mk-files/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgtools/bootstrap-mk-files/Makefile b/pkgtools/bootstrap-mk-files/Makefile
index 1beea9d5fa8..529ebd0f00f 100644
--- a/pkgtools/bootstrap-mk-files/Makefile
+++ b/pkgtools/bootstrap-mk-files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/08/10 13:04:13 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2007/09/21 17:14:39 joerg Exp $
DISTNAME= bootstrap-mk-files-20070810
CATEGORIES= pkgtools
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pkgsrc.org/
COMMENT= *.mk files for the bootstrap bmake utility
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_PKGTOOLS_REQD_CHECK= # defined
NO_CHECKSUM= yes
@@ -19,7 +21,7 @@ NO_BUILD= yes
USE_TOOLS+= sed
-INSTALLTION_DIRS= share/mk
+INSTALLATION_DIRS= share/mk
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
@@ -41,9 +43,8 @@ do-configure:
$$own_mk > bsd.own.mk
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/mk
cd ${WRKSRC} && for file in bsd.* sys.mk; do \
- ${INSTALL_DATA} $$file ${PREFIX}/share/mk/$$file; \
+ ${INSTALL_DATA} $$file ${DESTDIR}${PREFIX}/share/mk/$$file; \
done
.include "../../mk/bsd.pkg.mk"