aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-07-19 04:26:04 +0800
committeryuri <yuri@FreeBSD.org>2018-07-19 04:26:04 +0800
commitbaf80b578b1753f51555b5919df3edf801246ba2 (patch)
tree5031a059f1f6d8bc48a49d16c549009f258659df /x11
parentb49d771846ff838ced5682b32ac38f35a8f45639 (diff)
downloadfreebsd-ports-gnome-baf80b578b1753f51555b5919df3edf801246ba2.tar.gz
freebsd-ports-gnome-baf80b578b1753f51555b5919df3edf801246ba2.tar.zst
freebsd-ports-gnome-baf80b578b1753f51555b5919df3edf801246ba2.zip
New port: x11/xprintidle: Print X idle time
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/xprintidle/Makefile21
-rw-r--r--x11/xprintidle/distinfo3
-rw-r--r--x11/xprintidle/pkg-descr4
4 files changed, 29 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index a907a5cdc317..b7796ddb5290 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -504,6 +504,7 @@
SUBDIR += xpr
SUBDIR += xpra
SUBDIR += xprehashprinterlist
+ SUBDIR += xprintidle
SUBDIR += xprompt
SUBDIR += xprop
SUBDIR += xproto
diff --git a/x11/xprintidle/Makefile b/x11/xprintidle/Makefile
new file mode 100644
index 000000000000..cbfcfab48b3e
--- /dev/null
+++ b/x11/xprintidle/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= xprintidle
+DISTVERSION= 0.2.2
+CATEGORIES= x11
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Print X idle time
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= localbase:ldflags
+GNU_CONFIGURE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= g0hl1n
+USE_XORG= x11 xext xscrnsaver
+
+PLIST_FILES= bin/xprintidle
+
+.include <bsd.port.mk>
diff --git a/x11/xprintidle/distinfo b/x11/xprintidle/distinfo
new file mode 100644
index 000000000000..f1df47402214
--- /dev/null
+++ b/x11/xprintidle/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1531943941
+SHA256 (g0hl1n-xprintidle-0.2.2_GH0.tar.gz) = 8484ac3c748214ae8330f84974bf92aee76033a4072ea86b02cd0f831ac0b6a6
+SIZE (g0hl1n-xprintidle-0.2.2_GH0.tar.gz) = 90851
diff --git a/x11/xprintidle/pkg-descr b/x11/xprintidle/pkg-descr
new file mode 100644
index 000000000000..b77cbdb657ca
--- /dev/null
+++ b/x11/xprintidle/pkg-descr
@@ -0,0 +1,4 @@
+A utility that queries the X server for the user's idle time and prints it
+to stdout (in milliseconds).
+
+WWW: https://github.com/g0hl1n/xprintidle