summaryrefslogtreecommitdiff
path: root/x11/xssstate/Makefile
blob: 102f8be679cdce479d9139329fe39dae84f453a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

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>