diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-09 23:53:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-09 23:53:00 +0000 |
commit | 6bf251943fb669be2d208f6fb7fcd78920282db9 (patch) | |
tree | 08da0f4e6d2620b76cc84833b9ad31a91e93307a /pkgtools | |
parent | c049324d4f77017239146aa07f5a07fbfb618507 (diff) | |
download | pkgsrc-6bf251943fb669be2d208f6fb7fcd78920282db9.tar.gz |
DESTDIR support.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/mtree/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/mtree/files/Makefile.in | 14 |
2 files changed, 10 insertions, 8 deletions
diff --git a/pkgtools/mtree/Makefile b/pkgtools/mtree/Makefile index 718c4d57175..0cccf90b047 100644 --- a/pkgtools/mtree/Makefile +++ b/pkgtools/mtree/Makefile @@ -1,8 +1,10 @@ -# $NetBSD: Makefile,v 1.23 2008/10/02 17:15:22 joerg Exp $ +# $NetBSD: Makefile,v 1.24 2009/02/10 00:11:53 joerg Exp $ # # This version of mtree installs into ${PKG_TOOLS_BIN}. # +PKG_DESTDIR_SUPPORT= user-destdir + .include "Makefile.common" CATEGORIES= pkgtools diff --git a/pkgtools/mtree/files/Makefile.in b/pkgtools/mtree/files/Makefile.in index dd7f1680c4b..41923e61683 100644 --- a/pkgtools/mtree/files/Makefile.in +++ b/pkgtools/mtree/files/Makefile.in @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.in,v 1.7 2004/08/21 06:33:39 jlam Exp $ +# $NetBSD: Makefile.in,v 1.8 2009/02/10 00:11:53 joerg Exp $ srcdir= @srcdir@ @@ -41,9 +41,9 @@ distclean: clean rm -f configure.lineno config.log install: - $(INSTALL) -m 755 -d $(sbindir) - $(INSTALL) -m 755 -d $(man8dir) - $(INSTALL) -m 755 -d $(cat8dir) - $(INSTALL) $(PROG) $(sbindir) - $(INSTALL) -m 444 $(PROG).8 $(man8dir)/$(PROG).8 - $(INSTALL) -m 444 $(PROG).cat8 $(cat8dir)/$(PROG).0 + $(INSTALL) -m 755 -d ${DESTDIR}$(sbindir) + $(INSTALL) -m 755 -d ${DESTDIR}$(man8dir) + $(INSTALL) -m 755 -d ${DESTDIR}$(cat8dir) + $(INSTALL) $(PROG) ${DESTDIR}$(sbindir) + $(INSTALL) -m 444 $(PROG).8 ${DESTDIR}$(man8dir)/$(PROG).8 + $(INSTALL) -m 444 $(PROG).cat8 ${DESTDIR}$(cat8dir)/$(PROG).0 |