mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
1f9979e09e
inputplug is a very simple daemon which monitors XInput events and runs arbitrary scripts on hierarchy change events (such as a device being attached, removed, enabled or disabled). For example, inputplug can be used in shell scripts which monitor attachments of keyboards in order to run change keyboard mappings with commands like "setxkbmap -option ctrl:nocaps". WWW: https://github.com/andrewshadura/inputplug
27 lines
492 B
Makefile
27 lines
492 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= inputplug
|
|
DISTVERSION= 0.3
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= 0mp@FreeBSD.org
|
|
COMMENT= XInput event monitor daemon
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= mk-configure>=0:devel/mk-configure
|
|
|
|
USES= localbase perl5 pkgconfig xorg
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= andrewshadura
|
|
USE_PERL5= build
|
|
USE_XORG= x11 xcb xi
|
|
MAKE_CMD= mkcmake
|
|
MAKE_ARGS= MANDIR="${PREFIX}/share/man"
|
|
|
|
PLIST_FILES= bin/inputplug \
|
|
share/man/man1/inputplug.1.gz
|
|
|
|
.include <bsd.port.mk>
|