Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2021 19:24:17 +0000 (UTC)
From:      Guangyuan Yang <ygy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r562506 - head/x11/xssstate
Message-ID:  <202101241924.10OJOHE4025064@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ygy (doc committer)
Date: Sun Jan 24 19:24:17 2021
New Revision: 562506
URL: https://svnweb.freebsd.org/changeset/ports/562506

Log:
  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

Added:
  head/x11/xssstate/
  head/x11/xssstate/Makefile   (contents, props changed)
  head/x11/xssstate/distinfo   (contents, props changed)
  head/x11/xssstate/pkg-descr   (contents, props changed)

Added: head/x11/xssstate/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xssstate/Makefile	Sun Jan 24 19:24:17 2021	(r562506)
@@ -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>

Added: head/x11/xssstate/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xssstate/distinfo	Sun Jan 24 19:24:17 2021	(r562506)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1610705062
+SHA256 (xssstate-1.1.tar.gz) = c4b6f504a6a8eb247bc60960bd65cbf9631c008449a1d71ac4c55e34be1c6011
+SIZE (xssstate-1.1.tar.gz) = 3725

Added: head/x11/xssstate/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xssstate/pkg-descr	Sun Jan 24 19:24:17 2021	(r562506)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101241924.10OJOHE4025064>