| @@ -1,64 +1,64 @@ | | | @@ -1,64 +1,64 @@ |
1 | # $NetBSD: Makefile,v 1.47 2021/01/01 15:33:51 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.48 2021/01/02 15:48:39 wiz Exp $ |
2 | | | 2 | |
3 | CONSOLEKIT_VER= 1.2.2 | | 3 | CONSOLEKIT_VER= 1.2.2 |
4 | DISTNAME= ConsoleKit2-${CONSOLEKIT_VER} | | 4 | DISTNAME= ConsoleKit2-${CONSOLEKIT_VER} |
5 | PKGNAME= consolekit-${CONSOLEKIT_VER} | | 5 | PKGNAME= consolekit-${CONSOLEKIT_VER} |
6 | CATEGORIES= sysutils | | 6 | CATEGORIES= sysutils |
7 | GITHUB_TAG= ${CONSOLEKIT_VER} | | 7 | GITHUB_TAG= ${CONSOLEKIT_VER} |
8 | GITHUB_PROJECT= ConsoleKit2 | | 8 | GITHUB_PROJECT= ConsoleKit2 |
9 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ConsoleKit2/} | | 9 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ConsoleKit2/} |
10 | | | 10 | |
11 | MAINTAINER= youri@NetBSD.org | | 11 | MAINTAINER= youri@NetBSD.org |
12 | HOMEPAGE= https://github.com/ConsoleKit2/ConsoleKit2 | | 12 | HOMEPAGE= https://github.com/ConsoleKit2/ConsoleKit2 |
13 | COMMENT= Framework for defining and tracking users, login sessions, and seats | | 13 | COMMENT= Framework for defining and tracking users, login sessions, and seats |
14 | LICENSE= gnu-gpl-v2 | | 14 | LICENSE= gnu-gpl-v2 |
15 | | | 15 | |
16 | MESSAGE_SUBST+= PREFIX=${PREFIX} | | 16 | MESSAGE_SUBST+= PREFIX=${PREFIX} |
17 | | | 17 | |
18 | BUILD_DEFS+= VARBASE \ | | 18 | BUILD_DEFS+= VARBASE \ |
19 | PKG_SYSCONFBASE | | 19 | PKG_SYSCONFBASE |
20 | | | 20 | |
21 | EGDIR= ${PREFIX}/share/examples/consolekit | | 21 | EGDIR= ${PREFIX}/share/examples/consolekit |
22 | PKG_SYSCONFSUBDIR= ConsoleKit | | 22 | PKG_SYSCONFSUBDIR= ConsoleKit |
23 | RULESDIR= ${PREFIX}/share/polkit-1/rules.d | | 23 | RULESDIR= ${PREFIX}/share/polkit-1/rules.d |
24 | | | 24 | |
25 | MAKE_DIRS= ${PKG_SYSCONFDIR}/run-seat.d \ | | 25 | MAKE_DIRS= ${PKG_SYSCONFDIR}/run-seat.d \ |
26 | ${PKG_SYSCONFDIR}/run-session.d \ | | 26 | ${PKG_SYSCONFDIR}/run-session.d \ |
27 | ${PKG_SYSCONFDIR}/seats.d \ | | 27 | ${PKG_SYSCONFDIR}/seats.d \ |
28 | ${PKG_SYSCONFBASE}/dbus-1/system.d \ | | 28 | ${PKG_SYSCONFBASE}/dbus-1/system.d \ |
29 | ${PKG_SYSCONFBASE}/logrotate.d \ | | 29 | ${PKG_SYSCONFBASE}/logrotate.d \ |
30 | ${PKG_SYSCONFBASE}/X11/xinit/xinitrc.d | | 30 | ${PKG_SYSCONFBASE}/X11/xinit/xinitrc.d |
31 | | | 31 | |
32 | | | 32 | |
33 | CONF_FILES+= ${EGDIR}/ConsoleKit/seats.d/00-primary.seat \ | | 33 | CONF_FILES+= ${EGDIR}/ConsoleKit/seats.d/00-primary.seat \ |
34 | ${PKG_SYSCONFDIR}/seats.d/00-primary.seat \ | | 34 | ${PKG_SYSCONFDIR}/seats.d/00-primary.seat \ |
35 | ${EGDIR}/dbus-1/system.d/ConsoleKit.conf \ | | 35 | ${EGDIR}/dbus-1/system.d/ConsoleKit.conf \ |
36 | ${PKG_SYSCONFBASE}/dbus-1/system.d/ConsoleKit.conf \ | | 36 | ${PKG_SYSCONFBASE}/dbus-1/system.d/ConsoleKit.conf \ |
37 | ${EGDIR}/logrotate.d/consolekit \ | | 37 | ${EGDIR}/logrotate.d/consolekit \ |
38 | ${PKG_SYSCONFBASE}/logrotate.d/consolekit \ | | 38 | ${PKG_SYSCONFBASE}/logrotate.d/consolekit \ |
39 | ${EGDIR}/X11/xinit/xinitrc.d/90-consolekit \ | | 39 | ${EGDIR}/X11/xinit/xinitrc.d/90-consolekit \ |
40 | ${PKG_SYSCONFBASE}/X11/xinit/xinitrc.d/90-consolekit | | 40 | ${PKG_SYSCONFBASE}/X11/xinit/xinitrc.d/90-consolekit |
41 | | | 41 | |
42 | GNU_CONFIGURE= YES | | 42 | GNU_CONFIGURE= YES |
43 | USE_TOOLS+= gmake intltool msgfmt perl pkg-config | | 43 | USE_TOOLS+= gmake intltool msgfmt perl pkg-config |
44 | USE_TOOLS+= autoconf automake autoreconf | | 44 | USE_TOOLS+= autoconf automake autoreconf autopoint |
45 | USE_LIBTOOL= YES | | 45 | USE_LIBTOOL= YES |
46 | | | 46 | |
47 | CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFBASE} \ | | 47 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} \ |
48 | --localstatedir=${VARBASE} \ | | 48 | --localstatedir=${VARBASE} \ |
49 | --disable-pam-module | | 49 | --disable-pam-module |
50 | #--enable-pam-module \ | | 50 | #--enable-pam-module |
51 | #--with-pam-module-dir=${PREFIX}/lib/security \ | | 51 | #--with-pam-module-dir=${PREFIX}/lib/security |
52 | | | 52 | |
53 | CONFIGURE_ARGS.SunOS+= --enable-rbac-shutdown=solaris.system.shutdown | | 53 | CONFIGURE_ARGS.SunOS+= --enable-rbac-shutdown=solaris.system.shutdown |
54 | | | 54 | |
55 | INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} \ | | 55 | INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} \ |
56 | DBUS_SYS_DIR=${EGDIR}/dbus-1/system.d \ | | 56 | DBUS_SYS_DIR=${EGDIR}/dbus-1/system.d \ |
57 | XINITRC_DIR=${EGDIR}/X11/xinit/xinitrc.d | | 57 | XINITRC_DIR=${EGDIR}/X11/xinit/xinitrc.d |
58 | | | 58 | |
59 | post-install: | | 59 | post-install: |
60 | ${MKDIR} ${DESTDIR}${RULESDIR} && \ | | 60 | ${MKDIR} ${DESTDIR}${RULESDIR} && \ |
61 | ${INSTALL_DATA} ${FILESDIR}/50-shutdown.rules \ | | 61 | ${INSTALL_DATA} ${FILESDIR}/50-shutdown.rules \ |
62 | ${DESTDIR}${RULESDIR}/50-shutdown.rules | | 62 | ${DESTDIR}${RULESDIR}/50-shutdown.rules |
63 | | | 63 | |
64 | TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen | | 64 | TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen |