aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-07-26 19:15:35 +0800
committerantoine <antoine@FreeBSD.org>2015-07-26 19:15:35 +0800
commit28502bf8a1cb54b055aa9b4d9e4aff0dc43ba62f (patch)
treef8a8dc1db25b916144f78a16ce28d7b608261d7a /sysutils
parent429a1d742af2a8a50ee3734dfa542a932e38ebe3 (diff)
downloadfreebsd-ports-gnome-28502bf8a1cb54b055aa9b4d9e4aff0dc43ba62f.tar.gz
freebsd-ports-gnome-28502bf8a1cb54b055aa9b4d9e4aff0dc43ba62f.tar.zst
freebsd-ports-gnome-28502bf8a1cb54b055aa9b4d9e4aff0dc43ba62f.zip
Make fetchable again
Reported by: pkg-fallout PR: 201744
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/megacli/Makefile11
-rw-r--r--sysutils/megacli/distinfo4
2 files changed, 7 insertions, 8 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
diff --git a/sysutils/megacli/distinfo b/sysutils/megacli/distinfo
index 0cd00db0b2ef..14c64540e737 100644
--- a/sysutils/megacli/distinfo
+++ b/sysutils/megacli/distinfo
@@ -1,2 +1,2 @@
-SHA256 (8.07.14_MegaCLI.zip) = d9b152ae3dab76a334b9251702dba3311ceed91b58aaf52d916eb4ba1c2ab6e9
-SIZE (8.07.14_MegaCLI.zip) = 7939395
+SHA256 (8-07-14_MegaCLI.zip) = d9b152ae3dab76a334b9251702dba3311ceed91b58aaf52d916eb4ba1c2ab6e9
+SIZE (8-07-14_MegaCLI.zip) = 7939395