pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/bootstrap-mk-files Fix spelling of variable a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f4028b909ab7
branches: trunk
changeset: 533581:f4028b909ab7
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Sep 21 17:14:39 2007 +0000
description:
Fix spelling of variable and add DESTDIR support.
diffstat:
pkgtools/bootstrap-mk-files/Makefile | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r ae03ce0d92d4 -r f4028b909ab7 pkgtools/bootstrap-mk-files/Makefile
--- a/pkgtools/bootstrap-mk-files/Makefile Fri Sep 21 16:56:19 2007 +0000
+++ b/pkgtools/bootstrap-mk-files/Makefile Fri Sep 21 17:14:39 2007 +0000
@@ -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 @@
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 @@
USE_TOOLS+= sed
-INSTALLTION_DIRS= share/mk
+INSTALLATION_DIRS= share/mk
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
@@ -41,9 +43,8 @@
$$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"
Home |
Main Index |
Thread Index |
Old Index