diff options
author | joerg <joerg@pkgsrc.org> | 2007-09-21 17:14:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-09-21 17:14:39 +0000 |
commit | 11177d133eee2e41494e59a7e0ac4d1dcb3c69f7 (patch) | |
tree | 3ab0a4816b9bd440d2b37cfeacdb9e2787a3cf45 /pkgtools | |
parent | b6365f1abe7c0eb996a6013c11995b4a8ddf1371 (diff) | |
download | pkgsrc-11177d133eee2e41494e59a7e0ac4d1dcb3c69f7.tar.gz |
Fix spelling of variable and add DESTDIR support.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/bootstrap-mk-files/Makefile | 9 |
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" |