Index: head/x11/Makefile =================================================================== --- head/x11/Makefile +++ head/x11/Makefile @@ -368,6 +368,7 @@ SUBDIR += xbrightness SUBDIR += xcalc SUBDIR += xcalib + SUBDIR += xcape SUBDIR += xcb SUBDIR += xcb-proto SUBDIR += xcb-util Index: head/x11/xcape/Makefile =================================================================== --- head/x11/xcape/Makefile +++ head/x11/xcape/Makefile @@ -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 Index: head/x11/xcape/distinfo =================================================================== --- head/x11/xcape/distinfo +++ head/x11/xcape/distinfo @@ -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 Index: head/x11/xcape/pkg-descr =================================================================== --- head/x11/xcape/pkg-descr +++ head/x11/xcape/pkg-descr @@ -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