2013-09-20 23:05:58 +00:00
|
|
|
# Created by: Vladimir Laskov <samflanker@gmail.com>
|
2009-05-20 11:49:12 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= megacli
|
2014-06-01 07:36:36 +00:00
|
|
|
PORTVERSION= 8.07.14
|
2009-05-20 11:49:12 +00:00
|
|
|
CATEGORIES= sysutils
|
2014-06-01 07:36:36 +00:00
|
|
|
MASTER_SITES= http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/${DISTNAME}${EXTRACT_SUFX}?source=1&
|
2011-10-30 12:45:54 +00:00
|
|
|
DISTNAME= ${PORTVERSION}_MegaCLI
|
2013-11-29 17:31:26 +00:00
|
|
|
EXTRACT_SUFX= .zip
|
2009-05-20 11:49:12 +00:00
|
|
|
|
|
|
|
MAINTAINER= samflanker@gmail.com
|
2010-01-04 12:52:58 +00:00
|
|
|
COMMENT= SAS MegaRAID FreeBSD MegaCLI
|
2009-05-20 11:49:12 +00:00
|
|
|
|
2011-03-18 07:14:46 +00:00
|
|
|
RESTRICTED= Source recipient must acknowledge license. Reproduction or redistribution prohibited. See http://www.lsi.com/lookup/License.aspx
|
2009-05-20 11:49:12 +00:00
|
|
|
|
2011-03-18 07:14:46 +00:00
|
|
|
FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES}
|
2011-01-23 21:10:04 +00:00
|
|
|
|
2011-03-18 07:14:46 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2009-05-20 11:49:12 +00:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
PLIST_FILES= sbin/MegaCli
|
|
|
|
|
2013-11-29 17:31:26 +00:00
|
|
|
MEGACLI_ARCH= MegaCli${ARCH:S/i386//:S/amd64/64/}
|
2011-11-29 22:53:19 +00:00
|
|
|
|
2012-12-10 08:48:38 +00:00
|
|
|
post-extract:
|
2014-06-01 07:36:36 +00:00
|
|
|
@${MV} ${WRKSRC}/FreeBSD/MegaCLI.zip ${WRKSRC}/FreeBSD/MegaCli.zip
|
|
|
|
@${TAR} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/FreeBSD/${MEGACLI_ARCH}.zip -C${WRKSRC}/FreeBSD
|
2012-12-10 08:48:38 +00:00
|
|
|
|
2009-05-20 11:49:12 +00:00
|
|
|
do-install:
|
2014-06-01 07:36:36 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/FreeBSD/${MEGACLI_ARCH} ${STAGEDIR}${PREFIX}/sbin/MegaCli
|
2013-11-29 17:31:26 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|