34a999626b
A tool for measuring evdev event rate (mouse polling rate, touchpad event rate, etc.) Reported average is for the last 64 samples, or as many as we have so far. WWW: https://gitlab.com/iankelling/evhz PR: 239466 Submitted by: Greg V <greg@unrelenting.technology>
29 lines
648 B
Makefile
29 lines
648 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= evhz
|
|
DISTVERSION= g20170201
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= greg@unrelenting.technology
|
|
COMMENT= Tool for measuring evdev event rate (mouse polling rate)
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
|
|
|
|
USES= compiler localbase
|
|
USE_GITLAB= yes
|
|
|
|
GL_ACCOUNT= iankelling
|
|
GL_COMMIT= 3b656489b70838afaeb33359cb0086e2a184c81f
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|