Files

70 lines
1.8 KiB
Makefile
Raw Permalink Normal View History

PORTROACH= limit:^1
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
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
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+
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
USE_GMAKE= Yes
2017-07-21 08:55:05 +00:00
BUILD_DEPENDS= devel/gobject-introspection \
textproc/xmlto
LIB_DEPENDS= sysutils/polkit
# /usr/local/share/dbus-1/system-services/
RUN_DEPENDS += x11/dbus,-suid
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 \
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}
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
AUTORECONF= ./autogen.sh
2023-03-07 10:15:17 +00:00
AUTOCONF_VERSION= 2.71
AUTOMAKE_VERSION= 1.16
post-install:
2025-11-17 14:42:31 +00:00
rmdir ${WRKINST}/tmp/run/ConsoleKit ${WRKINST}/tmp/run/
rm -r ${WRKINST}/${SYSCONFDIR}/X11/xinit/xinitrc.d \
${PREFIX}/share/examples/consolekit/logrotate.d
${INSTALL_DATA_DIR} ${PREFIX}/share/polkit-1/rules.d
${INSTALL_DATA} ${FILESDIR}/10-openbsd-consolekit.rules \
${PREFIX}/share/polkit-1/rules.d
2009-06-07 02:55:19 +00:00
.include <bsd.port.mk>