Changeset View
Changeset View
Standalone View
Standalone View
sysutils/devcpu-data/Makefile
# Created by: stas | # Created by: stas | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= data | PORTNAME= data | ||||
PORTVERSION= 1.11 | PORTVERSION= 1.12 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= sysutils | CATEGORIES= sysutils | ||||
MASTER_SITES= https://downloadmirror.intel.com/26925/eng/:intel \ | MASTER_SITES= https://downloadmirror.intel.com/27337/eng/:intel \ | ||||
http://www.amd64.org/microcode/:amd | http://www.amd64.org/microcode/:amd | ||||
PKGNAMEPREFIX= devcpu- | PKGNAMEPREFIX= devcpu- | ||||
DISTFILES= microcode-20170707.tgz:intel amd-ucode-2014-12-01.tar.bz2:amd | DISTFILES= microcode-20171117.tgz:intel amd-ucode-2014-12-01.tar.bz2:amd | ||||
MAINTAINER= clarkjc@runbox.com | MAINTAINER= clarkjc@runbox.com | ||||
COMMENT= Intel and AMD CPUs microcode updates | COMMENT= Intel and AMD CPUs microcode updates | ||||
LICENSE= EULA | LICENSE= EULA | ||||
LICENSE_NAME= Intel Software License Agreement | LICENSE_NAME= Intel Software License Agreement | ||||
LICENSE_FILE= ${FILESDIR}/LICENSE | LICENSE_FILE= ${FILESDIR}/LICENSE | ||||
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept | LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept | ||||
ONLY_FOR_ARCHS= amd64 i386 | |||||
NO_ARCH= yes | NO_ARCH= yes | ||||
NO_WRKSUBDIR= yes | NO_WRKSUBDIR= yes | ||||
ONLY_FOR_ARCHS= i386 amd64 | |||||
DATADIR= ${PREFIX}/share/cpucontrol | DATADIR= ${PREFIX}/share/cpucontrol | ||||
USE_RC_SUBR= microcode_update | USE_RC_SUBR= microcode_update | ||||
post-extract: | post-extract: | ||||
${CP} -p ${FILESDIR}/Makefile ${FILESDIR}/ucode-tool.c ${WRKSRC} | ${CP} -p ${FILESDIR}/Makefile ${FILESDIR}/ucode-tool.c ${WRKSRC} | ||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}${DATADIR}/ | ${MKDIR} ${STAGEDIR}${DATADIR}/ | ||||
${INSTALL_DATA} ${WRKSRC}/mcodes/* ${STAGEDIR}${DATADIR}/ | ${INSTALL_DATA} ${WRKSRC}/mcodes/* ${STAGEDIR}${DATADIR}/ | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |