Added
Link Here
|
1 |
PORTNAME= RyzenAdj |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 0.16.0 |
4 |
CATEGORIES= sysutils |
5 |
|
6 |
MAINTAINER= vladislav.movchan@gmail.com |
7 |
COMMENT= Power management tool for Ryzen mobile and embedded CPUs |
8 |
WWW= https://github.com/FlyGoat/RyzenAdj |
9 |
|
10 |
LICENSE= LGPL3 |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
13 |
ONLY_FOR_ARCHS= amd64 i386 |
14 |
ONLY_FOR_ARCHS_REASON= specific to Ryzen CPUs |
15 |
|
16 |
LIB_DEPENDS= libpci.so:devel/libpci |
17 |
|
18 |
USES= cmake localbase:ldflags |
19 |
|
20 |
USE_GITHUB= yes |
21 |
GH_ACCOUNT= FlyGoat |
22 |
|
23 |
USE_LDCONFIG= yes |
24 |
|
25 |
OPTIONS_DEFINE= EXAMPLES |
26 |
|
27 |
PLIST_FILES= bin/ryzenadj \ |
28 |
lib/libryzenadj.so |
29 |
|
30 |
PORTEXAMPLES= pmtable-example.py \ |
31 |
readjust.py |
32 |
|
33 |
post-install: |
34 |
${INSTALL_LIB} ${BUILD_WRKSRC}/libryzenadj.so \ |
35 |
${STAGEDIR}${PREFIX}/lib/ |
36 |
|
37 |
post-install-EXAMPLES-on: |
38 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
39 |
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \ |
40 |
${STAGEDIR}${EXAMPLESDIR}/ |
41 |
|
42 |
.include <bsd.port.mk> |