2020-08-09 11:35:20 +02:00
|
|
|
PORTNAME= seatd
|
2021-09-16 01:07:42 +02:00
|
|
|
DISTVERSION= 0.6.2
|
2020-08-09 11:35:20 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
|
|
|
|
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
|
|
COMMENT= Minimal seat management daemon and universal library
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
USES= compiler:c11 meson pkgconfig
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
2021-09-11 14:02:44 +02:00
|
|
|
"@(,video,4750) bin/${PORTNAME}-launch" \
|
2020-08-09 11:35:20 +02:00
|
|
|
include/libseat.h \
|
|
|
|
lib/libseat.so \
|
2020-09-09 20:56:30 +02:00
|
|
|
lib/libseat.so.1 \
|
2020-08-09 11:35:20 +02:00
|
|
|
libdata/pkgconfig/libseat.pc
|
|
|
|
|
2021-09-11 17:52:54 +02:00
|
|
|
OPTIONS_DEFINE= BASU MANPAGES
|
|
|
|
OPTIONS_DEFAULT=BASU MANPAGES
|
2021-04-19 00:09:25 +02:00
|
|
|
|
|
|
|
# https://lists.sr.ht/~kennylevinsen/seatd-devel/%3CQHZRRQ.73ZI29COPK131%40unrelenting.technology%3E
|
|
|
|
BASU_DESC= ConsoleKit2 support via basu (experimental)
|
|
|
|
BASU_PATCH_SITES= https://github.com/DankBSD/${PORTNAME}/commit/:ck2
|
2021-09-11 14:02:44 +02:00
|
|
|
BASU_PATCHFILES= c35529dd761d.patch:-p1:ck2 76ccbf3617da.patch:-p1:ck2
|
2021-04-19 00:09:25 +02:00
|
|
|
BASU_LIB_DEPENDS= libbasu.so:devel/basu
|
|
|
|
BASU_USES= localbase # https://github.com/emersion/basu/issues/36
|
2021-09-11 14:02:44 +02:00
|
|
|
BASU_MESON_ENABLED= libseat-consolekit2
|
2021-04-19 00:09:25 +02:00
|
|
|
.if make(makesum)
|
|
|
|
.MAKEFLAGS: WITH+=BASU
|
|
|
|
.endif
|
2020-08-09 11:35:20 +02:00
|
|
|
|
|
|
|
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
|
|
|
|
MANPAGES_MESON_ENABLED= man-pages
|
2021-09-11 14:02:44 +02:00
|
|
|
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \
|
|
|
|
man/man1/${PORTNAME}-launch.1.gz
|
2020-08-09 11:35:20 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|