ports/sysutils/devcpu-data/Makefile
Tilman Keskinoz 1aa4f0f27f Update intel microcode to 20140624
PR:		191411
Submitted by:	Lawrence Chen
Approved by:	maintainer
2014-07-02 14:11:45 +00:00

31 lines
684 B
Makefile

# Created by: stas
# $FreeBSD$
PORTNAME= data
PORTVERSION= 1.2
CATEGORIES= sysutils
MASTER_SITES= http://downloadmirror.intel.com/23984/eng/:intel \
http://www.amd64.org/microcode/:amd
PKGNAMEPREFIX= devcpu-
DISTFILES= microcode-20140624.tgz:intel amd-ucode-latest.tar.bz2:amd
MAINTAINER= clarkjc@runbox.com
COMMENT= Intel and AMD CPUs microcode updates
NO_WRKSUBDIR= yes
ONLY_FOR_ARCHS= i386 amd64
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>