ecebd4eda9
Submitted by: Sergey Kozlov <kozlov.sergey.404@gmail.com> Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D6648
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# Created by: Sergey Kozlov <sergey.kozlov@intel.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nvmupdate
|
|
DISTVERSION= 5_04
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \
|
|
http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/
|
|
MASTER_SITE_SUBDIR= 25792/eng
|
|
PKGNAMEPREFIX= intel-
|
|
DISTNAME= XL710_NVMUpdatePackage_v${DISTVERSION}_FreeBSD
|
|
|
|
MAINTAINER= freebsd@intel.com
|
|
COMMENT= NVM Update Utility for Intel(R) Ethernet Adapters
|
|
|
|
LICENSE= IFL IPL
|
|
LICENSE_COMB= multi
|
|
|
|
LICENSE_NAME_IFL= Intel Firmware License
|
|
LICENSE_FILE_IFL= ${WRKSRC}/Intel_firmware_license.txt
|
|
LICENSE_PERMS_IFL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
LICENSE_NAME_IPL= Intel Proprietary License
|
|
LICENSE_FILE_IPL= ${WRKSRC}/license.txt
|
|
LICENSE_PERMS_IPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
WRKSRC= ${WRKDIR}/XL710/FreeBSDx64
|
|
NO_BUILD= yes
|
|
ONLY_FOR_ARCHS= amd64
|
|
ONLY_FOR_ARCHS_REASON= not supported on anything other than amd64
|
|
|
|
SUB_FILES= nvmupdate
|
|
SUB_LIST= NVMUPDATE_DIR=${NVMUPDATE_DIR}
|
|
|
|
NVMUPDATE_DIR= intel-nvmupdate
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 1001000
|
|
IGNORE= is not supported on FreeBSD 10.0 and older
|
|
.endif
|
|
|
|
.if ${OSVERSION} >= 1100000
|
|
BROKEN= core dump on application startup
|
|
.endif
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR} "! -name 'nvmupdate64e'"
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nvmupdate64e ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/nvmupdate ${STAGEDIR}${PREFIX}/sbin/
|
|
|
|
.include <bsd.port.post.mk>
|