Lines 6-35
MASTER_SITES= https://docs.broadcom.com/docs-and-downl
Link Here
|
6 |
DISTNAME= CLI_freebsd-from_the_10-2-2-1_9-5-5-1_codesets |
6 |
DISTNAME= CLI_freebsd-from_the_10-2-2-1_9-5-5-1_codesets |
7 |
DIST_SUBDIR= 3dm2 |
7 |
DIST_SUBDIR= 3dm2 |
8 |
|
8 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= takefu@airport.fm |
10 |
COMMENT= 3ware storage controllers management CLI |
10 |
COMMENT= 3ware storage controllers management CLI |
11 |
WWW= http://3ware.com/support/download.asp |
11 |
WWW= https://www.broadcom.com/support/ |
12 |
|
12 |
|
13 |
LICENSE= tw_cli |
13 |
LICENSE= tw_cli |
14 |
LICENSE_NAME= BROADCOM |
14 |
LICENSE_NAME= BROADCOM |
15 |
LICENSE_TEXT= Source recipient must acknowledge license.\ |
15 |
LICENSE_TEXT= Source recipient must acknowledge license.\ |
16 |
Reproduction or redistribution prohibited.\ |
16 |
Reproduction or redistribution prohibited.\ |
17 |
See https://www.broadcom.com/cs/Satellite?pagename=AVG2/Utilities/EulaMsg |
17 |
See https://www.broadcom.com/company/legal/licensing |
18 |
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept |
18 |
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept |
19 |
|
19 |
|
20 |
ONLY_FOR_ARCHS= amd64 i386 |
20 |
ONLY_FOR_ARCHS= amd64 i386 |
21 |
|
|
|
22 |
USES= zip |
21 |
USES= zip |
23 |
|
|
|
24 |
NO_BUILD= yes |
22 |
NO_BUILD= yes |
25 |
NO_WRKSUBDIR= yes |
|
|
26 |
SUB_FILES= 407.status-3ware-raid |
23 |
SUB_FILES= 407.status-3ware-raid |
27 |
PORTDOCS= tw_cli.8.html |
24 |
NO_WRKSUBDIR= yes |
28 |
PLIST_FILES= etc/periodic/daily/407.status-3ware-raid\ |
25 |
PLIST_FILES= etc/periodic/daily/407.status-3ware-raid\ |
29 |
man/man8/tw_cli.8.gz sbin/tw_cli |
26 |
man/man8/tw_cli.8.gz sbin/tw_cli |
30 |
|
27 |
PORTDOCS= tw_cli.8.html |
31 |
OPTIONS_DEFINE= DOCS |
28 |
OPTIONS_DEFINE= DOCS |
32 |
|
29 |
|
|
|
30 |
.include <bsd.port.pre.mk> |
31 |
|
32 |
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) |
33 |
DOWNLOAD_URL= https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${DISTNAME}${EXTRACT_SUFX} |
34 |
IGNORE?= You must manually fetch the distribution file\ |
35 |
(${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL},\ |
36 |
place it in ${DISTDIR}/3dm2 and then run make again |
37 |
.endif |
38 |
|
33 |
do-install: |
39 |
do-install: |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/${ARCH:S,i386,x86,:S,amd64,x86_64,}/tw_cli\ |
40 |
${INSTALL_PROGRAM} ${WRKSRC}/${ARCH:S,i386,x86,:S,amd64,x86_64,}/tw_cli\ |
35 |
${STAGEDIR}${PREFIX}/sbin/tw_cli |
41 |
${STAGEDIR}${PREFIX}/sbin/tw_cli |
Lines 41-44
do-install:
Link Here
|
41 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
47 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
42 |
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
48 |
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
43 |
|
49 |
|
44 |
.include <bsd.port.mk> |
50 |
.include <bsd.port.post.mk> |