summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2020-06-29 18:35:14 +0000
committerpin <pin@pkgsrc.org>2020-06-29 18:35:14 +0000
commit21c897d19cdf1d85c6631a733b74e2b7fbb67504 (patch)
tree50ee53419ad6659f215fe879a330326594e6c131 /x11
parent6d6c7b894a72ae1de675968f58c1b6cfd3c53c94 (diff)
downloadpkgsrc-21c897d19cdf1d85c6631a733b74e2b7fbb67504.tar.gz
Import x11/xdo
Small X utility to perform elementary actions on windows. Apply the given action to the given windows. If no window IDs and no options are given, the action applies to the focused window.
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile3
-rw-r--r--x11/xdo/DESCR4
-rw-r--r--x11/xdo/Makefile23
-rw-r--r--x11/xdo/PLIST3
-rw-r--r--x11/xdo/distinfo6
5 files changed, 38 insertions, 1 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 2e678703e1b..86ceb54d088 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.900 2020/06/20 15:05:48 nia Exp $
+# $NetBSD: Makefile,v 1.901 2020/06/29 18:36:33 pin Exp $
#
COMMENT= Packages to support the X window system
@@ -496,6 +496,7 @@ SUBDIR+= xdialog
SUBDIR+= xditview
SUBDIR+= xdm
SUBDIR+= xdm3d
+SUBDIR+= xdo
SUBDIR+= xdotool
SUBDIR+= xdpyinfo
SUBDIR+= xdriinfo
diff --git a/x11/xdo/DESCR b/x11/xdo/DESCR
new file mode 100644
index 00000000000..349cf55e788
--- /dev/null
+++ b/x11/xdo/DESCR
@@ -0,0 +1,4 @@
+Small X utility to perform elementary actions on windows.
+Apply the given action to the given windows.
+If no window IDs and no options are given, the action applies
+to the focused window.
diff --git a/x11/xdo/Makefile b/x11/xdo/Makefile
new file mode 100644
index 00000000000..7c1a899ea03
--- /dev/null
+++ b/x11/xdo/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/06/29 18:35:14 pin Exp $
+
+DISTNAME= xdo-0.5.7
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=baskerville/}
+
+MAINTAINER= pin@NetBSD.org
+HOMEPAGE= https://github.com/baskerville/xdo/
+COMMENT= Small X utility to perform elementary actions on windows
+LICENSE= 2-clause-bsd
+
+USE_TOOLS+= gmake
+USE_LANGUAGES= c99
+
+MAKE_ENV+= MANPREFIX=${PREFIX}/${PKGMANDIR}
+
+# For some reason, not equivalent to _POSIX_C_SOURCE = 200809L for the purpose of SA_RESTART.
+CFLAGS.NetBSD+= -D_XOPEN_SOURCE=700
+
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../x11/xcb-util-wm/buildlink3.mk"
+.include "../../x11/xcb-util/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xdo/PLIST b/x11/xdo/PLIST
new file mode 100644
index 00000000000..816380d8325
--- /dev/null
+++ b/x11/xdo/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/29 18:35:14 pin Exp $
+bin/xdo
+man/man1/xdo.1
diff --git a/x11/xdo/distinfo b/x11/xdo/distinfo
new file mode 100644
index 00000000000..42566b8e795
--- /dev/null
+++ b/x11/xdo/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/06/29 18:35:14 pin Exp $
+
+SHA1 (xdo-0.5.7.tar.gz) = 9daa84c47dd213fb3de6ac5ebec5ec4fc1be61a3
+RMD160 (xdo-0.5.7.tar.gz) = 4b0b661f00013d7b6154e88230f9e72bae72f298
+SHA512 (xdo-0.5.7.tar.gz) = 0978a8571a35899c916495c9d38458adb6c766db4d498dfacf2f0a46e373f7caa3c3e227096b3e60e03c67b972777cf7519e5b6eee7ebb91f82d4450ac0ff98d
+Size (xdo-0.5.7.tar.gz) = 7453 bytes