summaryrefslogtreecommitdiff
path: root/sysutils/evhz/Makefile
blob: bf55c00475a9d674bbf1bad2caaed7f71b1d026a (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
PORTNAME=	evhz
DISTVERSION=	g20170201
PORTREVISION=	1
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>