summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-07-28 18:01:21 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-07-28 18:01:21 +0000
commit1ca0e01077d883cbbb5a0ab09c378f75b2fba717 (patch)
tree42d2e02c71497bda04f4d72ceab8e3bf66687e99 /sysutils
parent- Add nasm as a dependency (diff)
- Move a dirrm up before cwd in pkg-plist which should fix
an extra file on pointyhat although I can't reproduce the error locally [1] - Install manpage [2] - WITHOUT_X11 needs more files, so install them as well [2] Submitted by: pointyhat via kris [1] PR: 82110 [2] Submitted by: Thomas Vogt <thomas@bsdunix.ch> [2] Approved by: obrien
Notes
Notes: svn path=/head/; revision=140340
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/asr-utils/Makefile15
-rw-r--r--sysutils/asr-utils/pkg-plist16
2 files changed, 19 insertions, 12 deletions
diff --git a/sysutils/asr-utils/Makefile b/sysutils/asr-utils/Makefile
index f3c896384ff9..f42b64c3d670 100644
--- a/sysutils/asr-utils/Makefile
+++ b/sysutils/asr-utils/Makefile
@@ -8,6 +8,7 @@
PORTNAME= asr-utils
PORTVERSION= 3.04
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://download.adaptec.com/raid/u160raid/unix/ \
ftp://ftp.adaptec.com/raid/u160raid/unix/
@@ -20,11 +21,12 @@ COMMENT= Adaptec ASR RAID Management Software
ONLY_FOR_ARCHS= i386
NO_WRKSUBDIR= yes
-BINS= raidutil
+BINS= raidutil dpteng dptcom dptsig
.ifndef (WITHOUT_X11)
USE_XLIB= yes
-BINS+= dptcom dpteng dptscom dptsig dptmgr
+BINS+= dptscom dptmgr
.endif
+MAN8= raidutil.8
.if !defined(WITHOUT_X11) && !exists(${X11BASE}/lib/libXm.so.1)
# we shall install our own libXm.so.1, enable it in pkg-plist
@@ -64,8 +66,13 @@ PLIST_SUB+= X11="@comment "
do-install:
${MKDIR} ${PREFIX}/dpt
cd ${WRKSRC} ; ${INSTALL_PROGRAM} ${BINS} ${PREFIX}/dpt ; \
- ${INSTALL_DATA} read.me ${PREFIX}/dpt
- ${LN} -sf ${PREFIX}/dpt/${BINS} ${PREFIX}/bin
+ ${INSTALL_DATA} read.me dptcom.chk ${PREFIX}/dpt
+.for bin in ${BINS}
+ ${LN} -sf ${PREFIX}/dpt/${bin} ${PREFIX}/bin
+.endfor
.endif
+post-install:
+ @${INSTALL_MAN} ${WRKSRC}/raidutil.8 ${PREFIX}/man/man8/
+
.include <bsd.port.post.mk>
diff --git a/sysutils/asr-utils/pkg-plist b/sysutils/asr-utils/pkg-plist
index 9763d62bdff3..e887de28d57f 100644
--- a/sysutils/asr-utils/pkg-plist
+++ b/sysutils/asr-utils/pkg-plist
@@ -1,21 +1,21 @@
@comment $FreeBSD$
-%%X11%%bin/dptcom
-%%X11%%bin/dpteng
%%X11%%bin/dptmgr
%%X11%%bin/dptscom
-%%X11%%bin/dptsig
bin/raidutil
-%%X11%%dpt/dptcom
-%%X11%%dpt/dptcom.chk
-%%X11%%dpt/dpteng
+bin/dpteng
+bin/dptcom
+bin/dptsig
%%X11%%dpt/dptmgr
%%X11%%dpt/dptmgr.hlp
%%X11%%dpt/dptmgr.ini
%%X11%%dpt/dptmgr.rsc
%%X11%%dpt/dptscom
-%%X11%%dpt/dptsig
dpt/raidutil
dpt/read.me
+dpt/dpteng
+dpt/dptcom
+dpt/dptcom.chk
+dpt/dptsig
+@dirrm dpt
%%LIBXM%%@cwd %%X11BASE%%
%%LIBXM%%lib/libXm.so.1
-@dirrm dpt