Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # $OpenBSD: Makefile,v 1.60 2017/01/25 03:19:26 ajacoutot Exp $
  2. COMMENT= framework for defining and tracking users, sessions & seats
  3. PKGNAME= ${DISTNAME:L}
  4. GH_TAGNAME= 1.0.2
  5. GH_ACCOUNT= ConsoleKit2
  6. GH_PROJECT= ConsoleKit2
  7. REVISION= 1
  8. CATEGORIES= sysutils
  9. SHARED_LIBS += ck-connector 1.1 # 0.0
  10. MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
  11. # GPLv2+
  12. PERMIT_PACKAGE_CDROM= Yes
  13. WANTLIB += X11 c dbus-1 ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
  14. WANTLIB += gthread-2.0 kvm pcre polkit-gobject-1 pthread xcb z
  15. MODULES= devel/gettext
  16. USE_GMAKE= Yes
  17. LIB_DEPENDS= sysutils/polkit
  18. # /usr/local/share/dbus-1/system-services/
  19. RUN_DEPENDS += x11/dbus,-suid
  20. CONFIGURE_STYLE= gnu
  21. CONFIGURE_ARGS= --disable-pam-module \
  22. --with-pam-module-dir=${LOCALBASE}/lib/security
  23. FAKE_FLAGS= DBUS_SYS_DIR=${TRUEPREFIX}/share/examples/consolekit/dbus-1 \
  24. sysconfdir=${TRUEPREFIX}/share/examples/consolekit
  25. AUTOCONF_VERSION= 2.69
  26. AUTOMAKE_VERSION= 1.15
  27. BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
  28. ${MODGNU_AUTOMAKE_DEPENDS} \
  29. devel/libtool
  30. pre-configure:
  31. cd ${WRKSRC} && \
  32. AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  33. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  34. NOCONFIGURE=1 \
  35. /bin/sh ./autogen.sh ${CONFIGURE_ARGS}
  36. post-install:
  37. rmdir ${WRKINST}/var/run/ConsoleKit
  38. rm -r ${WRKINST}/${SYSCONFDIR}/X11/xinit/xinitrc.d \
  39. ${PREFIX}/share/examples/consolekit/logrotate.d
  40. .include <bsd.port.mk>