mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
cf118ccf87
Reported by: lwhsu
23 lines
509 B
Makefile
23 lines
509 B
Makefile
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>
|