summaryrefslogtreecommitdiff
path: root/sysutils/dptutil/Makefile
diff options
context:
space:
mode:
authorad <ad@pkgsrc.org>2002-12-09 11:07:20 +0000
committerad <ad@pkgsrc.org>2002-12-09 11:07:20 +0000
commit4fc97e5e665a72b930b017d101caba2f9e7e1e97 (patch)
tree3767d65bc290795b51d8f496b7ebbc865922b614 /sysutils/dptutil/Makefile
parent71086417d2855e6d3a94692ea887171cd7295ad9 (diff)
downloadpkgsrc-4fc97e5e665a72b930b017d101caba2f9e7e1e97.tar.gz
Re-import of raidutil-3.31 as dptutil-3.31.
Diffstat (limited to 'sysutils/dptutil/Makefile')
-rw-r--r--sysutils/dptutil/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/sysutils/dptutil/Makefile b/sysutils/dptutil/Makefile
new file mode 100644
index 00000000000..8e0509843e6
--- /dev/null
+++ b/sysutils/dptutil/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/09 11:07:20 ad Exp $
+
+DISTNAME= raidmgt
+PKGNAME= dptutil-3.31
+WRKSRC= ${WRKDIR}
+CATEGORIES= sysutils
+MASTER_SITES= # empty
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ad@netbsd.org
+HOMEPAGE= http://opensource.adaptec.com/
+COMMENT= DPT/Adaptec Storage Management software (dputil)
+
+# Should work on other platforms, not yet tested.
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+RESTRICTED= "Redistribution not permitted"
+NO_SRC_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+
+CHECK_SHLIBS= NO
+NO_CONFIGURE= # defined
+INTERACTIVE_STAGE= fetch
+
+DOWNLOAD= http://mbserver.adaptec.com/index.php?bn=linux_downloads
+
+_FETCH_MESSAGE= \
+ ${ECHO} "================================================================="; \
+ ${ECHO} " dputil and dpteng source (raidmgt.tgz) must be fetched"; \
+ ${ECHO} " into ${DISTDIR} from"; \
+ ${ECHO} " ${DOWNLOAD}."; \
+ ${ECHO} "================================================================="
+
+post-patch:
+ ${SED} -e "s,@SBINDIR@,${PREFIX}/sbin,g" \
+ ${WRKDIR}/dpteng/makefile > ${WRKDIR}/dpteng/makefile.tmp
+ ${MV} ${WRKDIR}/dpteng/makefile.tmp ${WRKDIR}/dpteng/makefile
+ ${SED} -e "s,@SBINDIR@,${PREFIX}/sbin,g" \
+ ${WRKDIR}/dptutil/makefile > ${WRKDIR}/dptutil/makefile.tmp
+ ${MV} ${WRKDIR}/dptutil/makefile.tmp ${WRKDIR}/dptutil/makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dpteng/dpteng ${PREFIX}/sbin/dpteng
+ ${INSTALL_PROGRAM} ${WRKSRC}/dptutil/raidutil ${PREFIX}/sbin/dptutil
+
+.include "../../mk/bsd.pkg.mk"