aboutsummaryrefslogtreecommitdiff
path: root/sysutils/powermon
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2019-12-23 08:42:41 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2019-12-23 08:42:41 +0000
commit5db5fc71cf913b0c52f880b5de765d69f31f1c93 (patch)
tree037a1936f6137a0ef8e419393e9c5d9b54f6061e /sysutils/powermon
parentb487f95f17ba7fa559572c647dca5dacc510b629 (diff)
downloadports-5db5fc71cf913b0c52f880b5de765d69f31f1c93.tar.gz
ports-5db5fc71cf913b0c52f880b5de765d69f31f1c93.zip
Notes
Diffstat (limited to 'sysutils/powermon')
-rw-r--r--sysutils/powermon/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/powermon/Makefile b/sysutils/powermon/Makefile
index 0a991a374027..9787dcb0e970 100644
--- a/sysutils/powermon/Makefile
+++ b/sysutils/powermon/Makefile
@@ -17,10 +17,13 @@ ONLY_FOR_ARCHS_REASON= specific to recent x86 processors
USE_GITHUB= yes
GH_ACCOUNT= yamagi
-USES= gmake
+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