aboutsummaryrefslogtreecommitdiff
path: root/sysutils/amdmsrtweaker/Makefile
blob: b49b9031d263b10f9b68a1faa378231e490b661c (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
PORTNAME=	amdmsrtweaker
PORTVERSION=	1.1
CATEGORIES=	sysutils

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Tool to reprogram the P-states on various AMD CPUs and APUs
WWW=		https://github.com/danfe/amdmsrtweaker-lnx

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>