aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/megacli/Makefile18
-rw-r--r--sysutils/megacli/distinfo4
2 files changed, 13 insertions, 9 deletions
diff --git a/sysutils/megacli/Makefile b/sysutils/megacli/Makefile
index 2a5d05abd11e..762c92f15409 100644
--- a/sysutils/megacli/Makefile
+++ b/sysutils/megacli/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= megacli
-PORTVERSION= 8.01.06
+PORTVERSION= 8.02.16
CATEGORIES= sysutils
-MASTER_SITES= http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/
-DISTNAME= ${PORTVERSION}_FreeBSD_MegaCLI
+MASTER_SITES= http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/ \
+ CRITICAL
+DISTNAME= ${PORTVERSION}_MegaCLI
MAINTAINER= samflanker@gmail.com
COMMENT= SAS MegaRAID FreeBSD MegaCLI
@@ -19,7 +20,6 @@ RESTRICTED= Source recipient must acknowledge license. Reproduction or redistrib
FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES}
ONLY_FOR_ARCHS= i386 amd64
-IA32_BINARY_PORT= yes
USE_ZIP= yes
NO_BUILD= yes
@@ -27,7 +27,11 @@ NO_WRKSUBDIR= yes
PLIST_FILES= sbin/MegaCli
+.include <bsd.port.pre.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/MegaCli ${PREFIX}/sbin
-
-.include <bsd.port.mk>
+.if ${ARCH} == "i386"
+ ${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli ${PREFIX}/sbin/MegaCli
+.elif ${ARCH} == "amd64"
+ ${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli64 ${PREFIX}/sbin/MegaCli
+.endif
+.include <bsd.port.post.mk>
diff --git a/sysutils/megacli/distinfo b/sysutils/megacli/distinfo
index e4dbe86cf43f..51aa2861c569 100644
--- a/sysutils/megacli/distinfo
+++ b/sysutils/megacli/distinfo
@@ -1,2 +1,2 @@
-SHA256 (8.01.06_FreeBSD_MegaCLI.zip) = 95d5d35f5643b369da8ea3604f476738837c252fb06b5064f7e77a3b5a488f30
-SIZE (8.01.06_FreeBSD_MegaCLI.zip) = 800132
+SHA256 (8.02.16_MegaCLI.zip) = e22b615f6a10e4c305e65434153f8e15e779a2e245c08116ce5eca840c183d66
+SIZE (8.02.16_MegaCLI.zip) = 12244704