--- ./Makefile 2022-09-07 21:06:12.000000000 +0000 +++ ./Makefile 2022-12-05 01:40:07.386276000 +0000 @@ -6,30 +6,36 @@ MASTER_SITES= https://docs.broadcom.com/docs-and-downl DISTNAME= CLI_freebsd-from_the_10-2-2-1_9-5-5-1_codesets DIST_SUBDIR= 3dm2 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= takefu@airport.fm COMMENT= 3ware storage controllers management CLI -WWW= http://3ware.com/support/download.asp +WWW= https://www.broadcom.com/support/ LICENSE= tw_cli LICENSE_NAME= BROADCOM LICENSE_TEXT= Source recipient must acknowledge license.\ Reproduction or redistribution prohibited.\ - See https://www.broadcom.com/cs/Satellite?pagename=AVG2/Utilities/EulaMsg + See https://www.broadcom.com/company/legal/licensing LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 i386 - USES= zip - NO_BUILD= yes -NO_WRKSUBDIR= yes SUB_FILES= 407.status-3ware-raid -PORTDOCS= tw_cli.8.html +NO_WRKSUBDIR= yes PLIST_FILES= etc/periodic/daily/407.status-3ware-raid\ man/man8/tw_cli.8.gz sbin/tw_cli - +PORTDOCS= tw_cli.8.html OPTIONS_DEFINE= DOCS +.include + +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) +DOWNLOAD_URL= https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${DISTNAME}${EXTRACT_SUFX} +IGNORE?= You must manually fetch the distribution file\ + (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL},\ + place it in ${DISTDIR}/3dm2 and then run make again +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${ARCH:S,i386,x86,:S,amd64,x86_64,}/tw_cli\ ${STAGEDIR}${PREFIX}/sbin/tw_cli @@ -41,4 +47,4 @@ do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.include +.include