aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-12-10 16:48:38 +0800
committerdelphij <delphij@FreeBSD.org>2012-12-10 16:48:38 +0800
commit1920c46329d7e8410f2dd60dab8d49db5e2a2044 (patch)
treebfbd0339e35bef3c937737adebf0bed9695d7345 /sysutils
parent55e10ba62a9a2ad91083d616beee92ac19727ba3 (diff)
downloadfreebsd-ports-gnome-1920c46329d7e8410f2dd60dab8d49db5e2a2044.tar.gz
freebsd-ports-gnome-1920c46329d7e8410f2dd60dab8d49db5e2a2044.tar.zst
freebsd-ports-gnome-1920c46329d7e8410f2dd60dab8d49db5e2a2044.zip
Update to 8.05.06.
PR: ports/173189 Submitted by: Steven Hartland <steven.hartland multiplay.co.uk>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/megacli/Makefile15
-rw-r--r--sysutils/megacli/distinfo4
2 files changed, 13 insertions, 6 deletions
diff --git a/sysutils/megacli/Makefile b/sysutils/megacli/Makefile
index 92b2a01f499d..f09e584db9f3 100644
--- a/sysutils/megacli/Makefile
+++ b/sysutils/megacli/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= megacli
-PORTVERSION= 8.02.16
+PORTVERSION= 8.05.06
CATEGORIES= sysutils
MASTER_SITES= http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/ \
CRITICAL
@@ -28,13 +28,20 @@ NO_WRKSUBDIR= yes
PLIST_FILES= sbin/MegaCli
pre-fetch:
- @${FETCH_BINARY} -o /dev/null http://www.lsi.com/magic.axd?x=e&file=http%3A//www.lsi.com/downloads/Public/MegaRAID%2520Common%2520Files/8.02.16_MegaCLI.zip
+ @${FETCH_BINARY} -o /dev/null http://www.lsi.com/magic.axd?x=e&file=http%3A//www.lsi.com/downloads/Public/MegaRAID%2520Common%2520Files/${PORT_VERSION}_MegaCLI.zip
.include <bsd.port.pre.mk>
+post-extract:
+.if ${ARCH} == "i386"
+ @cd ${WRKSRC}/MegaCli_FreeBSD && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} MegaCli.zip
+.elif ${ARCH} == "amd64"
+ @cd ${WRKSRC}/MegaCli_FreeBSD && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} MegaCli64.zip
+.endif
+
do-install:
.if ${ARCH} == "i386"
- ${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli ${PREFIX}/sbin/MegaCli
+ ${INSTALL_PROGRAM} ${WRKSRC}/MegaCli_FreeBSD/MegaCli ${PREFIX}/sbin/MegaCli
.elif ${ARCH} == "amd64"
- ${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli64 ${PREFIX}/sbin/MegaCli
+ ${INSTALL_PROGRAM} ${WRKSRC}/MegaCli_FreeBSD/MegaCli64 ${PREFIX}/sbin/MegaCli
.endif
.include <bsd.port.post.mk>
diff --git a/sysutils/megacli/distinfo b/sysutils/megacli/distinfo
index 51aa2861c569..2172bb2c40b3 100644
--- a/sysutils/megacli/distinfo
+++ b/sysutils/megacli/distinfo
@@ -1,2 +1,2 @@
-SHA256 (8.02.16_MegaCLI.zip) = e22b615f6a10e4c305e65434153f8e15e779a2e245c08116ce5eca840c183d66
-SIZE (8.02.16_MegaCLI.zip) = 12244704
+SHA256 (8.05.06_MegaCLI.zip) = 7b310559b5e3a07cb02da6280e98ad4a95af258153ad0487db8c6187713e0f45
+SIZE (8.05.06_MegaCLI.zip) = 18874438