2010-01-27 19:38:15 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2010/01/27 18:47:15 joerg 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
|
2008-06-11 18:46:36 +02:00
|
|
|
MASTER_SITES= http://www.netbsd.org/~ad/raidmgt/
|
2002-12-09 12:07:20 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@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
|
|
|
|
2010-01-27 19:38:15 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
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
|
|
|
|
|
2006-06-18 18:04:28 +02:00
|
|
|
USE_LANGUAGES= c++
|
2006-03-28 16:26:19 +02:00
|
|
|
USE_TOOLS+= makedepend
|
2007-12-30 14:35:44 +01:00
|
|
|
INSTALLATION_DIRS= sbin
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2002-12-09 12:07:20 +01:00
|
|
|
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:
|
2010-01-27 19:38:15 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dpteng/dpteng ${DESTDIR}${PREFIX}/sbin/dpteng
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dptutil/raidutil ${DESTDIR}${PREFIX}/sbin/dptutil
|
2002-12-09 12:07:20 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|