aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/asr-utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/asr-utils/Makefile')
-rw-r--r--sysutils/asr-utils/Makefile40
1 files changed, 40 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>