mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
6ff3e55398
there may be some missing as my unpacked ports source is a little out of date but this should catch the main things people might run into the struct was reordered a second time in sysctl.h r1.192 to improve compatibility but amd64 snapshot packages made it out before that happened so the bumps are still needed
66 lines
1.7 KiB
Makefile
66 lines
1.7 KiB
Makefile
# $OpenBSD: Makefile,v 1.74 2019/06/25 20:25:22 sthen Exp $
|
|
|
|
COMMENT= framework for defining and tracking users, sessions & seats
|
|
|
|
PKGNAME= ${DISTNAME:L}
|
|
REVISION= 8
|
|
|
|
GH_TAGNAME= 1.2.1
|
|
GH_ACCOUNT= ConsoleKit2
|
|
GH_PROJECT= ConsoleKit2
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
SHARED_LIBS += consolekit 0.1 # 1.0
|
|
SHARED_LIBS += ck-connector 1.2 # 0.0
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
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 m pcre polkit-gobject-1
|
|
WANTLIB += pthread xcb z
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
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= gnu
|
|
CONFIGURE_ARGS= --disable-pam-module \
|
|
--with-pam-module-dir=${LOCALBASE}/lib/security
|
|
|
|
FAKE_FLAGS= DBUS_SYS_DIR=${TRUEPREFIX}/share/examples/consolekit/dbus-1 \
|
|
sysconfdir=${TRUEPREFIX}/share/examples/consolekit
|
|
|
|
AUTOCONF_VERSION= 2.69
|
|
AUTOMAKE_VERSION= 1.15
|
|
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
|
|
${MODGNU_AUTOMAKE_DEPENDS} \
|
|
devel/gettext,-tools \
|
|
devel/libtool
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && \
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
NOCONFIGURE=1 \
|
|
/bin/sh ./autogen.sh ${CONFIGURE_ARGS}
|
|
|
|
post-install:
|
|
rmdir ${WRKINST}/var/run/ConsoleKit
|
|
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
|
|
|
|
.include <bsd.port.mk>
|