blob: 6591af3c28ea85277740c3ea81cc3737fa847532 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Created by: Vladimir Laskov <samflanker@gmail.com>
# $FreeBSD$
PORTNAME= megacli
DISTVERSION= 8-07-14
CATEGORIES= sysutils
MASTER_SITES= http://www.avagotech.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/
DISTNAME= ${DISTVERSION}_MegaCLI
MAINTAINER= samflanker@gmail.com
COMMENT= SAS MegaRAID FreeBSD MegaCLI
RESTRICTED= Source recipient must acknowledge license. Reproduction or redistribution prohibited. See http://www.lsi.com/lookup/License.aspx
USES= zip
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= sbin/MegaCli
MEGACLI_ARCH= MegaCli${ARCH:S/i386//:S/amd64/64/}
post-extract:
@${MV} ${WRKSRC}/FreeBSD/MegaCLI.zip ${WRKSRC}/FreeBSD/MegaCli.zip
@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/FreeBSD/${MEGACLI_ARCH}.zip -d ${WRKSRC}/FreeBSD
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/FreeBSD/${MEGACLI_ARCH} ${STAGEDIR}${PREFIX}/sbin/MegaCli
.include <bsd.port.mk>
|