aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/sas2ircu
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2016-03-16 00:11:53 +0800
committerfeld <feld@FreeBSD.org>2016-03-16 00:11:53 +0800
commit01683f1ca61dfd185941b5628691d561e481a1e1 (patch)
treed19e53ae6905e054f5584832f19d968323da56c2 /sysutils/sas2ircu
parent8dae0c14e11e5d9b5322120ea9cb637880658e94 (diff)
downloadfreebsd-ports-gnome-01683f1ca61dfd185941b5628691d561e481a1e1.tar.gz
freebsd-ports-gnome-01683f1ca61dfd185941b5628691d561e481a1e1.tar.zst
freebsd-ports-gnome-01683f1ca61dfd185941b5628691d561e481a1e1.zip
sysutils/sas2ircu: Add LICENSE
Per the terms of the license, this port is now restricted. PR: 205750 MFH: 2016Q1
Diffstat (limited to 'sysutils/sas2ircu')
-rw-r--r--sysutils/sas2ircu/Makefile51
1 files changed, 16 insertions, 35 deletions
diff --git a/sysutils/sas2ircu/Makefile b/sysutils/sas2ircu/Makefile
index a4b0d48254c1..09a313bf10ad 100644
--- a/sysutils/sas2ircu/Makefile
+++ b/sysutils/sas2ircu/Makefile
@@ -1,60 +1,41 @@
-# Created by: Daniel Austin <freebsd-ports@dan.me.uk>
# $FreeBSD$
PORTNAME= sas2ircu
PORTVERSION= 20.00.00.00
CATEGORIES= sysutils
-MASTER_SITES= #http://www.lsi.com/downloads/Public/Host%20Bus%20Adapters/Host%20Bus%20Adapters%20Common%20Files/SAS_SATA_6G_P20/
+MASTER_SITES= http://docs.avagotech.com/docs-and-downloads/host-bus-adapters/host-bus-adapters-common-files/sas_sata_6g_p20/
DISTNAME= SAS2IRCU_P20
MAINTAINER= freebsd-ports@dan.me.uk
COMMENT= Tool for basic management of mps(4) based LSI RAID controllers
-WRKSRC= ${WRKDIR}/${DISTNAME}
+LICENSE= sas2ircu
+LICENSE_NAME= AVAGO
+LICENSE_TEXT= ${RESTRICTED}
+LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
+
+RESTRICTED= Source recipient must acknowledge license.\
+ Reproduction or redistribution prohibited.\
+ See http://www.avagotech.com/cs/Satellite?pagename=AVG2/Utilities/EulaMsg
USES= zip
NO_BUILD= yes
+NO_WRKSRC= yes
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= Binaries only available for i386 and amd64 from LSI
-RESTRICTED= May not be redistributed. Must accept license to download.
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
-
.include <bsd.port.pre.mk>
-.if (!exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}))
-DISTFILE_INSTRUCTIONS=\n\
-Due to licensing restrictions, certain files must be fetched manually.\n\
-Please visit the following URL and accept the license agreement.\n\n\
-http://www.lsi.com/downloads/Public/Host%%20Bus%%20Adapters/Host%%20Bus%%20Adapters%%20Common%%20Files/SAS_SATA_6G_P20/SAS2IRCU_P20.zip\n\n\
-After the download has completed, please place ${DISTNAME}${EXTRACT_SUFX} in\n\
-${DISTDIR}, then restart the build.\n\n
-.endif
-
-.if defined(DISTFILE_INSTRUCTIONS)
-.if defined(PACKAGE_BUILDING)
-IGNORE= requires manual fetch
-.else
-pre-fetch:
- @${PRINTF} "${DISTFILE_INSTRUCTIONS}"
- @exit 1;
-.endif
-.endif
-
do-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Readme_Release_Notes_SAS2IRCU_Phase_20.00.00.00.txt ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/SAS2IRCU_Phase20.0-20.00.00.00.pdf ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${ARCH} == "amd64"
- ${INSTALL_PROGRAM} ${WRKSRC}/sas2ircu_freebsd_amd64_rel/sas2ircu ${STAGEDIR}${PREFIX}/sbin
-.else
- ${INSTALL_PROGRAM} ${WRKSRC}/sas2ircu_freebsd_i386_rel/sas2ircu ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/Readme_Release_Notes_SAS2IRCU_Phase_${PORTVERSION}.txt\
+ ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/SAS2IRCU_Phase20.0-${PORTVERSION}.pdf\
+ ${STAGEDIR}${DOCSDIR}
.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/sas2ircu_freebsd_${ARCH}_rel/sas2ircu\
+ ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.post.mk>