diff options
author | Jon Bernard <jbernard@jbernard.io> | 2017-06-14 09:55:08 -0400 |
---|---|---|
committer | Jon Bernard <jbernard@jbernard.io> | 2017-06-14 09:55:08 -0400 |
commit | 584d4881d9a1366095e753a63bf7b1368204bdde (patch) | |
tree | 000c9814c1869f24a3eff79071013af121aacec1 | |
parent | e12cbd6d0ad3dc46be78918790152323efd3858d (diff) | |
download | mystuff-584d4881d9a1366095e753a63bf7b1368204bdde.tar.gz mystuff-584d4881d9a1366095e753a63bf7b1368204bdde.tar.bz2 mystuff-584d4881d9a1366095e753a63bf7b1368204bdde.zip |
Add xcape
-rw-r--r-- | x11/xcape/Makefile | 23 | ||||
-rw-r--r-- | x11/xcape/distinfo | 2 | ||||
-rw-r--r-- | x11/xcape/pkg/DESCR | 6 | ||||
-rw-r--r-- | x11/xcape/pkg/PLIST | 3 |
4 files changed, 34 insertions, 0 deletions
diff --git a/x11/xcape/Makefile b/x11/xcape/Makefile new file mode 100644 index 0000000..12256d9 --- /dev/null +++ b/x11/xcape/Makefile @@ -0,0 +1,23 @@ +# $OpenBSD: Makefile.template,v 1.76 2017/02/25 16:04:20 danj Exp $ + +COMMENT = configure modifier keys when pressed and released by itself + +V = 1.2 +PKGNAME = xcape-${V} + +GH_ACCOUNT = alols +GH_PROJECT = xcape +GH_TAGNAME = v${V} + +CATEGORIES = x11 + +# GPLv3+ +PERMIT_PACKAGE_CDROM = Yes + +WANTLIB += X11 Xtst c pthread + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/xcape ${PREFIX}/bin/xcape + ${INSTALL_SCRIPT} ${WRKSRC}/xcape.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/x11/xcape/distinfo b/x11/xcape/distinfo new file mode 100644 index 0000000..2e12861 --- /dev/null +++ b/x11/xcape/distinfo @@ -0,0 +1,2 @@ +SHA256 (xcape-1.2.tar.gz) = on7YhP2U8DBYr2Wjnt/jrz8vj7t2upkgACp2vgf7KCE= +SIZE (xcape-1.2.tar.gz) = 18730 diff --git a/x11/xcape/pkg/DESCR b/x11/xcape/pkg/DESCR new file mode 100644 index 0000000..c5c60b8 --- /dev/null +++ b/x11/xcape/pkg/DESCR @@ -0,0 +1,6 @@ +xcape allows you to use a modifier key as another key when pressed and released +on its own. Note that it is slightly slower than pressing the original key, +because the pressed event does not occur until the key is released. The default +behaviour is to generate the Escape key when Left Control is pressed and +released on its own. (If you don't understand why anybody would want this, I'm +guessing that Vim is not your favourite text editor ;) diff --git a/x11/xcape/pkg/PLIST b/x11/xcape/pkg/PLIST new file mode 100644 index 0000000..c5c0afa --- /dev/null +++ b/x11/xcape/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD$ +@bin bin/xcape +@man man/man1/xcape.1 |