3 PORTNAME= intel-undervolt
5 DISTVERSIONSUFFIX= -g66cfb65
8 MAINTAINER= greg@unrelenting.technology
9 COMMENT= Intel CPU undervolting tool
12 LICENSE_FILE= ${WRKSRC}/COPYING
14 ONLY_FOR_ARCHS= amd64 i386
15 ONLY_FOR_ARCHS_REASON= specifically for Haswell and newer Intel CPUs
17 RUN_DEPENDS= bash:shells/bash
23 MAKE_ARGS= CC="${CC}" SYSCONFDIR="${PREFIX}/etc"
25 PLIST_FILES= bin/${PORTNAME} \
26 "@sample etc/${PORTNAME}.conf.sample"
29 ${REINPLACE_CMD} "s|/bin/bash|${LOCALBASE}/bin/bash|g" ${WRKSRC}/config.c
32 ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
33 ${STAGEDIR}${PREFIX}/bin/
34 ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
35 ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
37 .include <bsd.port.mk>