freebsd-ports/sysutils/devcpu-data/Makefile
Sean Bruno b62927e66f sysutils/devcpu-data Unbreak build by using a cached distfile for amd microcode.
Use a freebsd.org hosted version of the amd microcode file fetched
in February of 2015. The amd64.org site has been down for a long time and
probably will never come back.

Reported by:	netchild
Reviewed by:	mat antoine
Approved by:	portmgr (mat@ antoin@)
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13792
2018-01-07 18:13:50 +00:00

35 lines
853 B
Makefile

# Created by: stas
# $FreeBSD$
PORTNAME= data
PORTVERSION= 1.12
CATEGORIES= sysutils
MASTER_SITES= https://downloadmirror.intel.com/27337/eng/:intel \
LOCAL/sbruno:amd
PKGNAMEPREFIX= devcpu-
DISTFILES= microcode-20171117.tgz:intel amd-ucode-2014-12-01.tar.bz2:amd
MAINTAINER= clarkjc@runbox.com
COMMENT= Intel and AMD CPUs microcode updates
LICENSE= EULA
LICENSE_NAME= Intel Software License Agreement
LICENSE_FILE= ${FILESDIR}/LICENSE
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
ONLY_FOR_ARCHS= amd64 i386
NO_ARCH= yes
NO_WRKSUBDIR= yes
DATADIR= ${PREFIX}/share/cpucontrol
USE_RC_SUBR= microcode_update
post-extract:
${CP} -p ${FILESDIR}/Makefile ${FILESDIR}/ucode-tool.c ${WRKSRC}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/mcodes/* ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>