head	1.1;
access;
symbols
	pkgsrc-2026Q2:1.1.0.4
	pkgsrc-2026Q2-base:1.1
	pkgsrc-2026Q1:1.1.0.2
	pkgsrc-2026Q1-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2026.02.01.20.30.52;	author leot;	state Exp;
branches;
next	;
commitid	uxQCaHiZKEUHlIsG;


desc
@@


1.1
log
@xssstate: import xssstate-1.1 as x11/xssstate

This is a simple utility to get the state of the X screensaver extension.

These states include the idle time, the screensaver state and the time
how long to wait until the screensaver should be active.

Packaged in pkgsrc-wip by myself.
@
text
@# $NetBSD$

DISTNAME=	xssstate-1.1
CATEGORIES=	x11
MASTER_SITES=	https://dl.suckless.org/tools/

MAINTAINER=	leot@@NetBSD.org
HOMEPAGE=	https://tools.suckless.org/x/xssstate/
COMMENT=	Simple tool to retrieve the X screensaver state
LICENSE=	mit

USE_CC_FEATURES=	c99

SUBST_CLASSES+=		makefile
SUBST_STAGE.makefile=	pre-configure
SUBST_MESSAGE.makefile=	Fixing config.mk
SUBST_FILES.makefile=	config.mk
SUBST_SED.makefile=	-e 's,/usr/local,${PREFIX},g'
SUBST_SED.makefile+=	-e 's,share/man,${PKGMANDIR},g'
SUBST_SED.makefile+=	-e 's,^CFLAGS *= ,CFLAGS += ,'
SUBST_SED.makefile+=	-e 's,^CPPFLAGS *= ,CPPFLAGS += ,'
SUBST_SED.makefile+=	-e 's,^LDFLAGS *= ,LDFLAGS += ,'
SUBST_SED.makefile+=	-e '/^CFLAGS/s/-g//'
SUBST_SED.makefile+=	-e '/^CFLAGS/s/-O0//'
SUBST_SED.makefile+=	-e '/^LDFLAGS/s/-g//'
SUBST_SED.makefile+=	-e 's/cc/${CC:Q}/'

.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXScrnSaver/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@
