diff options
author | joerg <joerg> | 2007-09-21 17:14:39 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-09-21 17:14:39 +0000 |
commit | f97d6fefdb3c3a51e3ef38518d7737435226d39c (patch) | |
tree | 3ab0a4816b9bd440d2b37cfeacdb9e2787a3cf45 /pkgtools | |
parent | 2ebe58d3f108c70064f81a8f3aab814e0d027b22 (diff) | |
download | pkgsrc-f97d6fefdb3c3a51e3ef38518d7737435226d39c.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" |