diff options
Diffstat (limited to 'sysutils/dptutil/Makefile')
-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" |