2026-06-12 11:12:38 +00:00
|
|
|
PORTROACH= limit:^1
|
|
|
|
|
|
2015-08-15 11:12:54 +00:00
|
|
|
COMMENT= framework for defining and tracking users, sessions & seats
|
2009-06-07 02:55:19 +00:00
|
|
|
|
2023-08-08 12:42:35 +00:00
|
|
|
GH_TAGNAME= 1.2.6
|
2015-08-15 11:12:54 +00:00
|
|
|
GH_ACCOUNT= ConsoleKit2
|
|
|
|
|
GH_PROJECT= ConsoleKit2
|
2023-04-03 14:55:34 +00:00
|
|
|
PKGNAME= ${DISTNAME:L}
|
2025-11-17 14:42:31 +00:00
|
|
|
REVISION= 6
|
2009-10-16 09:36:56 +00:00
|
|
|
|
2015-08-15 11:12:54 +00:00
|
|
|
CATEGORIES= sysutils
|
2009-10-16 09:36:56 +00:00
|
|
|
|
2017-12-13 15:36:22 +00:00
|
|
|
SHARED_LIBS += consolekit 0.1 # 1.0
|
2017-07-21 08:55:05 +00:00
|
|
|
SHARED_LIBS += ck-connector 1.2 # 0.0
|
2009-06-07 02:55:19 +00:00
|
|
|
|
2022-11-10 11:14:43 +00:00
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
2009-10-16 09:36:56 +00:00
|
|
|
|
2009-06-07 02:55:19 +00:00
|
|
|
# GPLv2+
|
2019-07-12 20:49:33 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2009-06-07 02:55:19 +00:00
|
|
|
|
2025-11-16 18:58:11 +00:00
|
|
|
WANTLIB += ICE SM X11 c dbus-1 drm ffi gio-2.0 glib-2.0 gmodule-2.0
|
|
|
|
|
WANTLIB += gobject-2.0 iconv intl kvm pcre2-8 polkit-gobject-1
|
2017-07-21 08:55:05 +00:00
|
|
|
WANTLIB += pthread xcb z
|
2009-10-16 09:36:56 +00:00
|
|
|
|
2015-08-15 11:12:54 +00:00
|
|
|
USE_GMAKE= Yes
|
2009-06-07 07:49:44 +00:00
|
|
|
|
2017-07-21 08:55:05 +00:00
|
|
|
BUILD_DEPENDS= devel/gobject-introspection \
|
|
|
|
|
textproc/xmlto
|
|
|
|
|
|
2015-08-15 11:12:54 +00:00
|
|
|
LIB_DEPENDS= sysutils/polkit
|
2009-11-13 14:52:33 +00:00
|
|
|
|
2015-04-04 09:30:30 +00:00
|
|
|
# /usr/local/share/dbus-1/system-services/
|
2015-08-15 11:12:54 +00:00
|
|
|
RUN_DEPENDS += x11/dbus,-suid
|
2015-04-04 09:30:30 +00:00
|
|
|
|
2022-07-05 21:15:15 +00:00
|
|
|
CONFIGURE_STYLE= autoreconf
|
2016-03-11 20:28:21 +00:00
|
|
|
CONFIGURE_ARGS= --disable-pam-module \
|
2022-11-10 15:01:09 +00:00
|
|
|
--disable-libudev \
|
2025-11-16 18:58:11 +00:00
|
|
|
--disable-libevdev \
|
2023-09-17 09:38:05 +00:00
|
|
|
--with-pam-module-dir=${LOCALBASE}/lib/security \
|
|
|
|
|
|
2023-11-02 15:39:32 +00:00
|
|
|
CONFIGURE_ENV += ac_cv_header_linux_input_h=no
|
|
|
|
|
|
2025-11-17 19:16:13 +00:00
|
|
|
# XDG_RUNTIME_DIR;
|
|
|
|
|
# see sysutils/polkit/patches/patch-src_polkitbackend_polkitbackendsessionmonitor_c
|
2025-11-17 14:42:31 +00:00
|
|
|
CONFIGURE_ARGS += --with-rundir=/tmp/run
|
|
|
|
|
|
2023-09-17 09:38:05 +00:00
|
|
|
# needed for 'make check'
|
|
|
|
|
CONFIGURE_ARGS += --enable-docbook-docs
|
2009-06-07 02:55:19 +00:00
|
|
|
|
2020-06-18 22:39:16 +00:00
|
|
|
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
|
|
|
|
|
2015-08-15 11:12:54 +00:00
|
|
|
FAKE_FLAGS= DBUS_SYS_DIR=${TRUEPREFIX}/share/examples/consolekit/dbus-1 \
|
|
|
|
|
sysconfdir=${TRUEPREFIX}/share/examples/consolekit
|
2009-06-07 02:55:19 +00:00
|
|
|
|
2023-09-17 09:09:38 +00:00
|
|
|
BUILD_DEPENDS += devel/gettext,-tools \
|
|
|
|
|
textproc/gtk-doc
|
2022-07-05 21:15:15 +00:00
|
|
|
AUTORECONF= ./autogen.sh
|
2023-03-07 10:15:17 +00:00
|
|
|
AUTOCONF_VERSION= 2.71
|
|
|
|
|
AUTOMAKE_VERSION= 1.16
|
2015-08-15 11:12:54 +00:00
|
|
|
|
|
|
|
|
post-install:
|
2025-11-17 14:42:31 +00:00
|
|
|
rmdir ${WRKINST}/tmp/run/ConsoleKit ${WRKINST}/tmp/run/
|
2015-08-15 11:12:54 +00:00
|
|
|
rm -r ${WRKINST}/${SYSCONFDIR}/X11/xinit/xinitrc.d \
|
|
|
|
|
${PREFIX}/share/examples/consolekit/logrotate.d
|
2019-01-19 01:50:49 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/polkit-1/rules.d
|
2019-02-25 17:52:31 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/10-openbsd-consolekit.rules \
|
2019-01-19 01:50:49 +00:00
|
|
|
${PREFIX}/share/polkit-1/rules.d
|
2009-06-07 02:55:19 +00:00
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|