e6734dd903
12h, and 15h family processors, originally written by Martin Kinkelin and extended by Marcus Pollice. WWW: https://github.com/danfe/amdmsrtweaker-lnx
34 lines
674 B
Makefile
34 lines
674 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= amdmsrtweaker
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Tool to reprogram the P-states on various AMD CPUs and APUs
|
|
|
|
LICENSE= GPLv3
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
USE_GITHUB= yes
|
|
GH_PROJECT= ${PORTNAME}-lnx
|
|
GH_ACCOUNT= danfe
|
|
GH_TAGNAME= 6139b13
|
|
|
|
CXXFLAGS+= -Wall -Werror -pedantic
|
|
|
|
PLIST_FILES= sbin/amdmsrt
|
|
PORTDOCS= readme.txt
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/amdmsrt ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|