blob: 0593acdb68fbdcb715c9d477e51833e8bd3ede2c (
plain)
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
|
PORTNAME= powermon
PORTVERSION= 1.0.0
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= yamagi@yamagi.org
COMMENT= Displays the CPUs current power consumption
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= specific to recent x86 processors
USE_GITHUB= yes
GH_ACCOUNT= yamagi
USES= gmake ncurses
PLIST_FILES= man/man8/powermon.8.gz sbin/powermon
post-patch:
${REINPLACE_CMD} 's/cursesw/${NCURSES_IMPL}/g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/release/powermon \
${STAGEDIR}${PREFIX}/sbin/powermon
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/misc/powermon.8 \
${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>
|