Lines 6-15
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= megacli |
8 |
PORTNAME= megacli |
9 |
PORTVERSION= 8.01.06 |
9 |
PORTVERSION= 8.02.16 |
10 |
CATEGORIES= sysutils |
10 |
CATEGORIES= sysutils |
11 |
MASTER_SITES= http://www.lsi.com/DistributionSystem/User/AssetMgr.aspx?asset=56628&/ |
11 |
MASTER_SITES= http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/ \ |
12 |
DISTNAME= ${PORTVERSION}_FreeBSD_MegaCLI |
12 |
CRITICAL |
|
|
13 |
DISTNAME= ${PORTVERSION}_MegaCLI |
13 |
|
14 |
|
14 |
MAINTAINER= samflanker@gmail.com |
15 |
MAINTAINER= samflanker@gmail.com |
15 |
COMMENT= SAS MegaRAID FreeBSD MegaCLI |
16 |
COMMENT= SAS MegaRAID FreeBSD MegaCLI |
Lines 19-25
Link Here
|
19 |
FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} |
20 |
FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} |
20 |
|
21 |
|
21 |
ONLY_FOR_ARCHS= i386 amd64 |
22 |
ONLY_FOR_ARCHS= i386 amd64 |
22 |
IA32_BINARY_PORT= yes |
|
|
23 |
|
23 |
|
24 |
USE_ZIP= yes |
24 |
USE_ZIP= yes |
25 |
NO_BUILD= yes |
25 |
NO_BUILD= yes |
Lines 27-33
Link Here
|
27 |
|
27 |
|
28 |
PLIST_FILES= sbin/MegaCli |
28 |
PLIST_FILES= sbin/MegaCli |
29 |
|
29 |
|
|
|
30 |
.include <bsd.port.pre.mk> |
30 |
do-install: |
31 |
do-install: |
31 |
${INSTALL_PROGRAM} ${WRKSRC}/MegaCli ${PREFIX}/sbin |
32 |
.if ${ARCH} == "i386" |
32 |
|
33 |
${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli ${PREFIX}/sbin/MegaCli |
33 |
.include <bsd.port.mk> |
34 |
.elif ${ARCH} == "amd64" |
|
|
35 |
${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli64 ${PREFIX}/sbin/MegaCli |
36 |
.endif |
37 |
.include <bsd.port.post.mk> |