opnsense-ports/sysutils/devcpu-data/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

30 lines
683 B
Makefile

# Created by: stas
# $FreeBSD$
PORTNAME= data
PORTVERSION= 1.3
CATEGORIES= sysutils
MASTER_SITES= http://downloadmirror.intel.com/24290/eng/:intel \
http://www.amd64.org/microcode/:amd
PKGNAMEPREFIX= devcpu-
DISTFILES= microcode-20140913.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>