Add usbhotkey 0.2, a utility to remap USB keyboards under X11.
PR: ports/114628 Submitted by: ntarmos at ceid.upatras.gr
This commit is contained in:
parent
258413e67c
commit
6e086f0036
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196453
5 changed files with 61 additions and 0 deletions
|
@ -655,6 +655,7 @@
|
|||
SUBDIR += upsmon
|
||||
SUBDIR += uptimec
|
||||
SUBDIR += uptimed
|
||||
SUBDIR += usbhotkey
|
||||
SUBDIR += uschedule
|
||||
SUBDIR += userinfo
|
||||
SUBDIR += userlist
|
||||
|
|
36
sysutils/usbhotkey/Makefile
Normal file
36
sysutils/usbhotkey/Makefile
Normal file
|
@ -0,0 +1,36 @@
|
|||
# New ports collection makefile for: usbhotkey
|
||||
# Date created: 16 July 2007
|
||||
# Whom: ntarmos@ceid.upatras.gr
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= usbhotkey
|
||||
PORTVERSION= 0.2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= usbhotkey
|
||||
|
||||
MAINTAINER= ntarmos@ceid.upatras.gr
|
||||
COMMENT= A utility to remap USB keyboards under X11
|
||||
|
||||
LIB_DEPENDS= hid.0:${PORTSDIR}/devel/libhid \
|
||||
Xtst.6:${PORTSDIR}/x11/libXtst
|
||||
|
||||
OPTIONS= GUI "Enable GUI bits (Imlib dependency)" on
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_GMAKE= yes
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_GUI)
|
||||
LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-Imlib
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
sysutils/usbhotkey/distinfo
Normal file
3
sysutils/usbhotkey/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (usbhotkey-0.2.tar.gz) = 665583928c1bd9d422e5b514780733c5
|
||||
SHA256 (usbhotkey-0.2.tar.gz) = c5a917cbbdb664c63f4e0df84d1e4881e06289c6a2143f9c76d873936e4738e7
|
||||
SIZE (usbhotkey-0.2.tar.gz) = 197756
|
7
sysutils/usbhotkey/pkg-descr
Normal file
7
sysutils/usbhotkey/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
USBHotkey allows you to catch USB keyboard events (key press and release
|
||||
events) and transform them into X11 keyboard events using a ruby script.
|
||||
This provides a mechanism for creating keymaps that can be more
|
||||
complicated than the standard table-based keymap approach of X11.
|
||||
|
||||
|
||||
WWW: http://usbhotkey.sourceforge.net/
|
14
sysutils/usbhotkey/pkg-plist
Normal file
14
sysutils/usbhotkey/pkg-plist
Normal file
|
@ -0,0 +1,14 @@
|
|||
share/usbhotkey-0.2/X11_keycodes.rb
|
||||
share/usbhotkey-0.2/ag5/level0.png
|
||||
share/usbhotkey-0.2/ag5/level1.png
|
||||
share/usbhotkey-0.2/ag5/level2.png
|
||||
share/usbhotkey-0.2/ag5/level3.png
|
||||
share/usbhotkey-0.2/ag5/level4.png
|
||||
share/usbhotkey-0.2/ag5/level5.png
|
||||
share/usbhotkey-0.2/ag5/level6.png
|
||||
share/usbhotkey-0.2/ag5/level7.png
|
||||
share/usbhotkey-0.2/ag5-3colors.rb
|
||||
share/usbhotkey-0.2/ag5-replicate-colours.rb
|
||||
bin/usbhotkey
|
||||
@dirrm share/usbhotkey-0.2/ag5
|
||||
@dirrm share/usbhotkey-0.2
|
Loading…
Reference in a new issue