forked from Lainports/freebsd-ports
36 lines
876 B
Makefile
36 lines
876 B
Makefile
# Created by: stas
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= data
|
|
PORTVERSION= 1.14
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://downloadmirror.intel.com/27431/eng/:intel \
|
|
LOCAL/sbruno:amd
|
|
PKGNAMEPREFIX= devcpu-
|
|
DISTFILES= microcode-20171117.tgz:intel amd64-microcode_3.20171205.1.tar.xz: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>
|