- Install proper documentation file.

- Fix typo in patch file.

PR:		ports/134945,
Submitted by:	Zhen REN <bg1tpt@gmail.com>
		Bjoern A. Zeeb <bzeeb+freebsdports@zabbadoz.net>
Approved by:	Ruben van Staveren <ruben@verweg.com> (maintainer)
This commit is contained in:
Wesley Shields 2009-07-03 22:57:02 +00:00
parent 5a3a5ebcba
commit a033bd2c88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237068
2 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= megacli
PORTVERSION= 2.00.15
PORTREVISION= 1
CATEGORIES= sysutils linux
MASTER_SITES= #
PKGNAMEPREFIX= linux-
@ -70,7 +71,7 @@ do-install:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTVERSION}_Linux_Cli.txt ${DOCSDIR}/readme.txt
${INSTALL_MAN} ${WRKSRC}/${PORTVERSION}_Linux_MegaCLI.txt ${DOCSDIR}/readme.txt
${INSTALL_MAN} ${FILESDIR}/README-status-mfi-raid.txt ${DOCSDIR}/README-status-mfi-raid.txt
.endif
@${CAT} ${PKGMESSAGE}

View File

@ -68,7 +68,7 @@ for ctrl in `jot ${ADPCOUNT} ${ADPMINIDX} ${ADPMAXIDX}`; do
E=-1; S=-1; D=-1; s=-1; mec=-1; oec=-1; pfc=-1; lpfeqn=-1;
state="";
}
/^Enclosure (Number:/ { E=$3; }
/^Enclosure Number:/ { E=$3; }
/^Enclosure Device ID:/ { E=$4; }
/^Slot Number:/ { S=$3; }
/^Device Id:/ { D=$3; }