New port: x11/xcape: Configure modifier keys to act as other keys when pressed on their own

PR:		222602
Submitted by:	Greg V <greg@unrelenting.technology>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13165
This commit is contained in:
Yuri Victorovich 2017-11-24 22:12:52 +00:00
parent e7b33dc3ba
commit 436d189d35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454853
4 changed files with 37 additions and 0 deletions

View File

@ -368,6 +368,7 @@
SUBDIR += xbrightness
SUBDIR += xcalc
SUBDIR += xcalib
SUBDIR += xcape
SUBDIR += xcb
SUBDIR += xcb-proto
SUBDIR += xcb-util

28
x11/xcape/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $FreeBSD$
PORTNAME= xcape
DISTVERSIONPREFIX= v
DISTVERSION= 1.2-9
DISTVERSIONSUFFIX= -g6ded5b4
CATEGORIES= x11
MAINTAINER= greg@unrelenting.technology
COMMENT= Configure modifier keys to act as other keys when pressed on their own
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= alols
USES= pkgconfig
USE_XORG= x11 xtst
MAKE_ARGS= PREFIX=${PREFIX} MANDIR=/man/man1
PLIST_FILES= bin/xcape man/man1/xcape.1.gz
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xcape
.include <bsd.port.mk>

3
x11/xcape/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1511147599
SHA256 (alols-xcape-v1.2-9-g6ded5b4_GH0.tar.gz) = 81793950033972a799d8701e6cc579ad75b22a02fe00db603170caa874a1e80c
SIZE (alols-xcape-v1.2-9-g6ded5b4_GH0.tar.gz) = 18904

5
x11/xcape/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
xcape allows you to use a modifier key as another key when pressed and released
on its own. The default behaviour is to generate the Escape key when Left
Control is pressed and released on its own.
WWW: https://github.com/alols/xcape