- 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
This commit is contained in:
parent
9dbfdc6e9c
commit
1ca0e01077
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140340
2 changed files with 19 additions and 12 deletions
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
PORTNAME= asr-utils
|
PORTNAME= asr-utils
|
||||||
PORTVERSION= 3.04
|
PORTVERSION= 3.04
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= http://download.adaptec.com/raid/u160raid/unix/ \
|
MASTER_SITES= http://download.adaptec.com/raid/u160raid/unix/ \
|
||||||
ftp://ftp.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
|
ONLY_FOR_ARCHS= i386
|
||||||
|
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
BINS= raidutil
|
BINS= raidutil dpteng dptcom dptsig
|
||||||
.ifndef (WITHOUT_X11)
|
.ifndef (WITHOUT_X11)
|
||||||
USE_XLIB= yes
|
USE_XLIB= yes
|
||||||
BINS+= dptcom dpteng dptscom dptsig dptmgr
|
BINS+= dptscom dptmgr
|
||||||
.endif
|
.endif
|
||||||
|
MAN8= raidutil.8
|
||||||
|
|
||||||
.if !defined(WITHOUT_X11) && !exists(${X11BASE}/lib/libXm.so.1)
|
.if !defined(WITHOUT_X11) && !exists(${X11BASE}/lib/libXm.so.1)
|
||||||
# we shall install our own libXm.so.1, enable it in pkg-plist
|
# we shall install our own libXm.so.1, enable it in pkg-plist
|
||||||
|
@ -64,8 +66,13 @@ PLIST_SUB+= X11="@comment "
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${PREFIX}/dpt
|
${MKDIR} ${PREFIX}/dpt
|
||||||
cd ${WRKSRC} ; ${INSTALL_PROGRAM} ${BINS} ${PREFIX}/dpt ; \
|
cd ${WRKSRC} ; ${INSTALL_PROGRAM} ${BINS} ${PREFIX}/dpt ; \
|
||||||
${INSTALL_DATA} read.me ${PREFIX}/dpt
|
${INSTALL_DATA} read.me dptcom.chk ${PREFIX}/dpt
|
||||||
${LN} -sf ${PREFIX}/dpt/${BINS} ${PREFIX}/bin
|
.for bin in ${BINS}
|
||||||
|
${LN} -sf ${PREFIX}/dpt/${bin} ${PREFIX}/bin
|
||||||
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
@${INSTALL_MAN} ${WRKSRC}/raidutil.8 ${PREFIX}/man/man8/
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
@comment $FreeBSD$
|
@comment $FreeBSD$
|
||||||
%%X11%%bin/dptcom
|
|
||||||
%%X11%%bin/dpteng
|
|
||||||
%%X11%%bin/dptmgr
|
%%X11%%bin/dptmgr
|
||||||
%%X11%%bin/dptscom
|
%%X11%%bin/dptscom
|
||||||
%%X11%%bin/dptsig
|
|
||||||
bin/raidutil
|
bin/raidutil
|
||||||
%%X11%%dpt/dptcom
|
bin/dpteng
|
||||||
%%X11%%dpt/dptcom.chk
|
bin/dptcom
|
||||||
%%X11%%dpt/dpteng
|
bin/dptsig
|
||||||
%%X11%%dpt/dptmgr
|
%%X11%%dpt/dptmgr
|
||||||
%%X11%%dpt/dptmgr.hlp
|
%%X11%%dpt/dptmgr.hlp
|
||||||
%%X11%%dpt/dptmgr.ini
|
%%X11%%dpt/dptmgr.ini
|
||||||
%%X11%%dpt/dptmgr.rsc
|
%%X11%%dpt/dptmgr.rsc
|
||||||
%%X11%%dpt/dptscom
|
%%X11%%dpt/dptscom
|
||||||
%%X11%%dpt/dptsig
|
|
||||||
dpt/raidutil
|
dpt/raidutil
|
||||||
dpt/read.me
|
dpt/read.me
|
||||||
|
dpt/dpteng
|
||||||
|
dpt/dptcom
|
||||||
|
dpt/dptcom.chk
|
||||||
|
dpt/dptsig
|
||||||
|
@dirrm dpt
|
||||||
%%LIBXM%%@cwd %%X11BASE%%
|
%%LIBXM%%@cwd %%X11BASE%%
|
||||||
%%LIBXM%%lib/libXm.so.1
|
%%LIBXM%%lib/libXm.so.1
|
||||||
@dirrm dpt
|
|
||||||
|
|
Loading…
Reference in a new issue