aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/megacli/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/megacli/Makefile')
-rw-r--r--sysutils/megacli/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/sysutils/megacli/Makefile b/sysutils/megacli/Makefile
index bba3222373b7..6591af3c28ea 100644
--- a/sysutils/megacli/Makefile
+++ b/sysutils/megacli/Makefile
@@ -2,18 +2,17 @@
# $FreeBSD$
PORTNAME= megacli
-PORTVERSION= 8.07.14
+DISTVERSION= 8-07-14
CATEGORIES= sysutils
-MASTER_SITES= http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/${DISTNAME}${EXTRACT_SUFX}?source=1&
-DISTNAME= ${PORTVERSION}_MegaCLI
-EXTRACT_SUFX= .zip
+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
-FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES}
+USES= zip
ONLY_FOR_ARCHS= i386 amd64
@@ -26,7 +25,7 @@ MEGACLI_ARCH= MegaCli${ARCH:S/i386//:S/amd64/64/}
post-extract:
@${MV} ${WRKSRC}/FreeBSD/MegaCLI.zip ${WRKSRC}/FreeBSD/MegaCli.zip
- @${TAR} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/FreeBSD/${MEGACLI_ARCH}.zip -C${WRKSRC}/FreeBSD
+ @${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