aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/asr-utils/Makefile
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/asr-utils/Makefile
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/asr-utils/Makefile')
-rw-r--r--sysutils/asr-utils/Makefile15
1 files changed, 11 insertions, 4 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>