summaryrefslogtreecommitdiff
path: root/sysutils/asr-utils
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-06-25 17:21:09 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-06-25 17:21:09 +0000
commit1d5e12b9913628ad50f04b2ebbe1cdce72a9f9cb (patch)
treef5caa03c82f9dcdd99a62a88b333d8821656307a /sysutils/asr-utils
parentFix build on -STABLE. (diff)
This package includes a GUI based (dptmgr) and command line (dptutil) utility
used to manage Adaptec I2O controllers' (asr(4)) and their devices.
Notes
Notes: svn path=/head/; revision=83600
Diffstat (limited to 'sysutils/asr-utils')
-rw-r--r--sysutils/asr-utils/Makefile40
-rw-r--r--sysutils/asr-utils/distinfo1
-rw-r--r--sysutils/asr-utils/files/dptmgr.sh.in7
-rw-r--r--sysutils/asr-utils/pkg-descr6
-rw-r--r--sysutils/asr-utils/pkg-plist19
5 files changed, 73 insertions, 0 deletions
diff --git a/sysutils/asr-utils/Makefile b/sysutils/asr-utils/Makefile
new file mode 100644
index 000000000000..370016f47a30
--- /dev/null
+++ b/sysutils/asr-utils/Makefile
@@ -0,0 +1,40 @@
+# ex:ts=8
+# Ports collection makefile for: asr-utils
+# Date created: Sun Feb 16, 2003
+# Whom: David O'Brien (obrien@FreeBSD.org)
+#
+# $FreeBSD$
+#
+
+PORTNAME= asr-utils
+PORTVERSION= 3.04
+CATEGORIES= sysutils
+MASTER_SITES= http://download.adaptec.com/raid/u160raid/unix/
+DISTNAME= u160raid_sm_v304_fbsd411
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= obrien@FreeBSD.org
+COMMENT= Adaptec ASR RAID Management Software
+
+NO_WRKSUBDIR= yes
+BINS= dptcom dpteng dptscom dptsig raidutil dptmgr
+
+do-build:
+ ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
+ ${FILESDIR}/dptmgr.sh.in > ${WRKDIR}/dptmgr.sh
+
+do-install:
+ ${MKDIR} ${PREFIX}/dpt
+ cd ${WRKSRC} ; ${INSTALL_PROGRAM} ${BINS} ${PREFIX}/dpt
+.for bin in ${BINS:Ndptmgr}
+ ${LN} -sf ${PREFIX}/dpt/${bin} ${PREFIX}/bin
+.endfor
+ ${INSTALL_SCRIPT} ${WRKDIR}/dptmgr.sh ${PREFIX}/bin/dptmgr
+ cd ${WRKSRC} ; ${INSTALL_DATA} \
+ dptcom.chk dptmgr.hlp dptmgr.ini dptmgr.rsc read.me \
+ ${PREFIX}/dpt
+.if !exists(${X11BASE}/lib/libXm.so.1)
+ ${INSTALL_SCRIPT} ${WRKSRC}/libXm.so.1 ${X11BASE}/lib
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/asr-utils/distinfo b/sysutils/asr-utils/distinfo
new file mode 100644
index 000000000000..d0c880de7a11
--- /dev/null
+++ b/sysutils/asr-utils/distinfo
@@ -0,0 +1 @@
+MD5 (u160raid_sm_v304_fbsd411.tgz) = c967180a797e3ea9ede1ce3395663aed
diff --git a/sysutils/asr-utils/files/dptmgr.sh.in b/sysutils/asr-utils/files/dptmgr.sh.in
new file mode 100644
index 000000000000..53f1414dde2b
--- /dev/null
+++ b/sysutils/asr-utils/files/dptmgr.sh.in
@@ -0,0 +1,7 @@
+#! /bin/sh
+# $FreeBSD$
+
+DPTPATH=%%PREFIX%%/dpt
+export DPTPATH
+
+${DPTPATH}/dptmgr $*
diff --git a/sysutils/asr-utils/pkg-descr b/sysutils/asr-utils/pkg-descr
new file mode 100644
index 000000000000..f452692e9f34
--- /dev/null
+++ b/sysutils/asr-utils/pkg-descr
@@ -0,0 +1,6 @@
+This package includes a GUI based (dptmgr) and command line (dptutil) utility
+used to manage Adaptec I2O controllers' (asr(4)) and their devices.
+
+Documentation for the MS-Windows version of dptmgr (much applies to this
+version also) can be found at
+http://www.adaptec.com/pdfs/user_guides/sm_pro_sw_gd_512730vaa.pdf
diff --git a/sysutils/asr-utils/pkg-plist b/sysutils/asr-utils/pkg-plist
new file mode 100644
index 000000000000..b5f0d64450b0
--- /dev/null
+++ b/sysutils/asr-utils/pkg-plist
@@ -0,0 +1,19 @@
+@comment $FreeBSD$
+bin/dptcom
+bin/dpteng
+bin/dptmgr
+bin/dptscom
+bin/dptsig
+bin/raidutil
+dpt/dptcom
+dpt/dptcom.chk
+dpt/dpteng
+dpt/dptmgr
+dpt/dptmgr.hlp
+dpt/dptmgr.ini
+dpt/dptmgr.rsc
+dpt/dptscom
+dpt/dptsig
+dpt/raidutil
+dpt/read.me
+../X11R6/lib/libXm.so.1