aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2005-07-29 02:01:21 +0800
committererwin <erwin@FreeBSD.org>2005-07-29 02:01:21 +0800
commit59fc07142155a6c6262b2d83ac6dd3f5a7e13405 (patch)
tree24df118d7ced4171e6d765774981f2ba69e96d1a /sysutils
parent8e7ed495ed9259fc03af4e16a9143b8eb5b1c34c (diff)
downloadfreebsd-ports-gnome-59fc07142155a6c6262b2d83ac6dd3f5a7e13405.tar.gz
freebsd-ports-gnome-59fc07142155a6c6262b2d83ac6dd3f5a7e13405.tar.zst
freebsd-ports-gnome-59fc07142155a6c6262b2d83ac6dd3f5a7e13405.zip
- 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
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