aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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