aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2011-10-30 20:45:54 +0800
committerpawel <pawel@FreeBSD.org>2011-10-30 20:45:54 +0800
commita91005a5f94eae8891ab116bc254954a6248a802 (patch)
tree7b6e844278f52ce2d7ae91f1a929a418a427e59f
parent38d3b501095797ba57ce1e67df98211ba1b34e9e (diff)
downloadfreebsd-ports-gnome-a91005a5f94eae8891ab116bc254954a6248a802.tar.gz
freebsd-ports-gnome-a91005a5f94eae8891ab116bc254954a6248a802.tar.zst
freebsd-ports-gnome-a91005a5f94eae8891ab116bc254954a6248a802.zip
- Update to version 8.02.16
- Now native binary on amd64 is installed PR: ports/162029 Submitted by: Vladimir Laskov <samflanker@gmail.com> (maintainer)
-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