diff options
author | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
commit | 6382667881b228651106070be0587fe300bf858b (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/bmake | |
parent | 2faf5f3f31238b3c0a70766d4e716138a636c86b (diff) | |
download | pkgsrc-6382667881b228651106070be0587fe300bf858b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/bmake')
-rw-r--r-- | devel/bmake/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/bmake/Makefile b/devel/bmake/Makefile index c7bf1748277..5206429ebd7 100644 --- a/devel/bmake/Makefile +++ b/devel/bmake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2008/02/05 15:37:18 tnn Exp $ +# $NetBSD: Makefile,v 1.40 2008/03/03 17:45:34 jlam Exp $ # DISTNAME= bmake-20051105 @@ -16,6 +16,8 @@ COMMENT= Portable (autoconf) version of NetBSD 'make' utility DEPENDS+= bootstrap-mk-files-[0-9]*:../../pkgtools/bootstrap-mk-files +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/bmake NO_CHECKSUM= yes NO_MTREE= yes @@ -46,7 +48,7 @@ do-build: ${SETENV} ${MAKE_ENV} ${SH} ./bmake/boot-strap ${BOOTSTRAP_ARGS} do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/${OPSYS}/bmake ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/bmake.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKDIR}/${OPSYS}/bmake ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/bmake.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |