1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

new port: x11/xssstate: Simple tool to retrieve the X screensaver state

Submitted by:	Faraz Vahedi <kfv@irbug.org>
Approved by:	lwhsu
Differential Revision:	https://reviews.freebsd.org/D28174
This commit is contained in:
Guangyuan Yang 2021-01-24 19:24:17 +00:00
parent f580ea4ec3
commit f823dc84b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562506
3 changed files with 32 additions and 0 deletions

24
x11/xssstate/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $FreeBSD$
PORTNAME= xssstate
PORTVERSION= 1.1
CATEGORIES= x11
MASTER_SITES= https://dl.suckless.org/tools/
MAINTAINER= kfv@kfv.io
COMMENT= Simple tool to retrieve the X screensaver state
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= localbase:ldflags xorg
USE_XORG= x11 xscrnsaver
MAKE_ARGS= LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" CC="${CC}"
CFLAGS+= -std=c99 -Wall -DVERSION=\\\"${PORTVERSION}\\\"
LDFLAGS+= -lX11 -lXss
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
.include <bsd.port.mk>

3
x11/xssstate/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1610705062
SHA256 (xssstate-1.1.tar.gz) = c4b6f504a6a8eb247bc60960bd65cbf9631c008449a1d71ac4c55e34be1c6011
SIZE (xssstate-1.1.tar.gz) = 3725

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

@ -0,0 +1,5 @@
xssstate is a simple tool to retrieve the X screensaver extension state.
It could show the idle time of X11, the current state whether on, off, or
disabled, and also the required time for screensaver activation.
WWW: https://tools.suckless.org/x/xssstate