aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/devcpu-data/Makefile
blob: dadbf483c622f0027786eb3a1a962dbd0ef0f96d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: stas
# $FreeBSD$

PORTNAME=   data
PORTVERSION=    1.13
PORTREVISION=   2
CATEGORIES= sysutils
MASTER_SITES=   https://downloadmirror.intel.com/27431/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>