diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 18:38:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 18:38:15 +0000 |
commit | ff40ef282a4dcec13a6cfe438f32835258c1dbe2 (patch) | |
tree | 10b97a7538661e615934578a1c57d4da0a29718e /sysutils/dptutil | |
parent | 4f38fb69092f2a47271e2223bb94d151ab3d4c7d (diff) | |
download | pkgsrc-ff40ef282a4dcec13a6cfe438f32835258c1dbe2.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/dptutil')
-rw-r--r-- | sysutils/dptutil/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/dptutil/Makefile b/sysutils/dptutil/Makefile index 8c1b1a6a2c4..9298aaade8e 100644 --- a/sysutils/dptutil/Makefile +++ b/sysutils/dptutil/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2008/06/11 16:46:36 ad Exp $ +# $NetBSD: Makefile,v 1.12 2010/01/27 18:47:15 joerg Exp $ DISTNAME= raidmgt-3.31 PKGNAME= dptutil-3.31 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://opensource.adaptec.com/ COMMENT= DPT/Adaptec Storage Management software (dptutil) +PKG_DESTDIR_SUPPORT= user-destdir + # Should work for 32-bit PowerPC and SPARC, but untested. 64-bit platforms # may have problems. ONLY_FOR_PLATFORM= NetBSD-*-i386 @@ -27,7 +29,7 @@ post-patch: ${MV} ${WRKSRC}/dptutil/makefile.tmp ${WRKSRC}/dptutil/makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dpteng/dpteng ${PREFIX}/sbin/dpteng - ${INSTALL_PROGRAM} ${WRKSRC}/dptutil/raidutil ${PREFIX}/sbin/dptutil + ${INSTALL_PROGRAM} ${WRKSRC}/dpteng/dpteng ${DESTDIR}${PREFIX}/sbin/dpteng + ${INSTALL_PROGRAM} ${WRKSRC}/dptutil/raidutil ${DESTDIR}${PREFIX}/sbin/dptutil .include "../../mk/bsd.pkg.mk" |