diff options
author | tnn <tnn@pkgsrc.org> | 2008-05-24 13:30:36 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-05-24 13:30:36 +0000 |
commit | 8455c37eb5d99b1c25ebc4e30437bce721a168c8 (patch) | |
tree | dd8b08f4d41c67b2185f6e45d551a64dc2587540 /sysutils | |
parent | 421f80dcb30558edb4865d99c8d2e8257069bedd (diff) | |
download | pkgsrc-8455c37eb5d99b1c25ebc4e30437bce721a168c8.tar.gz |
Add destdir support.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/install-sh/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/install-sh/Makefile b/sysutils/install-sh/Makefile index f03899b85f0..210e7e1f65e 100644 --- a/sysutils/install-sh/Makefile +++ b/sysutils/install-sh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2007/07/12 18:32:50 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2008/05/24 13:30:36 tnn Exp $ DISTNAME= install-sh-20070712 CATEGORIES= sysutils @@ -8,6 +8,7 @@ DISTFILES= # empty MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= install script compatible with the BSD install program +PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= sed NO_CHECKSUM= yes NO_MTREE= yes @@ -28,7 +29,7 @@ do-configure: ${SED} -e "s|@DEFAULT_INSTALL_MODE@|"${PKGDIRMODE}"|g" \ ${WRKSRC}/install-sh.in > ${WRKSRC}/install-sh do-install: - ${INSTALL_SCRIPT_DIR} ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/install-sh ${PREFIX}/bin + ${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/install-sh ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |