freebsd-ports/sysutils/devcpu-data/Makefile
Jan Beich 173c785417 sysutils/devcpu-data: update to 1.9 (Intel 2016-11-04)
- Accept LICENSE since it allows mirroring [1]

PR:		215104
Approved by:	John Clark <clarkjc@runbox.com> (maintainer)
Submitted by:	John Clark <clarkjc@runbox.com> [1]
2016-12-19 23:16:32 +00:00

35 lines
858 B
Makefile

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