git: d1f047abe104 - main - sysutils/tw_cli: unbreak fetch, fix WWW
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Sep 2024 14:08:52 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=d1f047abe104a133c5c225edf5303b3bddcf4eeb commit d1f047abe104a133c5c225edf5303b3bddcf4eeb Author: takefu <takefu@airport.fm> AuthorDate: 2024-09-30 08:26:56 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-09-30 14:07:49 +0000 sysutils/tw_cli: unbreak fetch, fix WWW - submitter becomes maintainer - tell the user explicitly how to obtain the distfile PR: 268160 --- sysutils/tw_cli/Makefile | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/sysutils/tw_cli/Makefile b/sysutils/tw_cli/Makefile index 0ab927dde89f..946021049e4b 100644 --- a/sysutils/tw_cli/Makefile +++ b/sysutils/tw_cli/Makefile @@ -1,35 +1,42 @@ PORTNAME= tw_cli -PORTVERSION= 9.5.5 +DISTVERSION= 9.5.5 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/ 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://docs.broadcom.com/docs/12348586 LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 i386 - +ONLY_FOR_ARCHS_REASON= binaries only available for i386 and amd64 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\ share/man/man8/tw_cli.8.gz sbin/tw_cli - +PORTDOCS= tw_cli.8.html OPTIONS_DEFINE= DOCS +.include <bsd.port.pre.mk> + +.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) +DOWNLOAD_URL= ${MASTER_SITES}${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 +48,4 @@ do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk>