2003-07-18 00:50:55 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2003/07/17 22:53:31 grant Exp $
|
2002-12-09 12:07:20 +01:00
|
|
|
|
2003-01-28 00:39:02 +01:00
|
|
|
DISTNAME= raidmgt-3.31
|
2002-12-09 12:07:20 +01:00
|
|
|
PKGNAME= dptutil-3.31
|
2003-01-28 00:39:02 +01:00
|
|
|
PKGREVISION= 1
|
2002-12-09 12:07:20 +01:00
|
|
|
CATEGORIES= sysutils
|
2003-01-28 00:39:02 +01:00
|
|
|
MASTER_SITES= http://www.interlude.eu.org/~ad/raidmgt/
|
2002-12-09 12:07:20 +01:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= ad@NetBSD.org
|
2002-12-09 12:07:20 +01:00
|
|
|
HOMEPAGE= http://opensource.adaptec.com/
|
2003-01-28 00:39:02 +01:00
|
|
|
COMMENT= DPT/Adaptec Storage Management software (dptutil)
|
2002-12-09 12:07:20 +01:00
|
|
|
|
2003-01-28 00:39:02 +01:00
|
|
|
# Should work for 32-bit PowerPC and SPARC, but untested. 64-bit platforms
|
|
|
|
# may have problems.
|
2002-12-09 12:07:20 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${SED} -e "s,@SBINDIR@,${PREFIX}/sbin,g" \
|
2003-01-28 00:39:02 +01:00
|
|
|
${WRKSRC}/dpteng/makefile > ${WRKSRC}/dpteng/makefile.tmp
|
|
|
|
${MV} ${WRKSRC}/dpteng/makefile.tmp ${WRKSRC}/dpteng/makefile
|
2002-12-09 12:07:20 +01:00
|
|
|
${SED} -e "s,@SBINDIR@,${PREFIX}/sbin,g" \
|
2003-01-28 00:39:02 +01:00
|
|
|
${WRKSRC}/dptutil/makefile > ${WRKSRC}/dptutil/makefile.tmp
|
|
|
|
${MV} ${WRKSRC}/dptutil/makefile.tmp ${WRKSRC}/dptutil/makefile
|
2002-12-09 12:07:20 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dpteng/dpteng ${PREFIX}/sbin/dpteng
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dptutil/raidutil ${PREFIX}/sbin/dptutil
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|