File:
[cvs.NetBSD.org] /
pkgsrc /
sysutils /
consolekit /
Makefile
Revision
1.34:
download - view:
text,
annotated -
select for diffs
Sat Jul 9 06:38:58 2016 UTC (8 years, 4 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
HEAD
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
# $NetBSD: Makefile,v 1.34 2016/07/09 06:38:58 wiz Exp $
CONSOLEKIT_VER= 1.0.2
DISTNAME= ConsoleKit2-1.0.2
PKGNAME= consolekit-${CONSOLEKIT_VER}
PKGREVISION= 1
CATEGORIES= sysutils
GITHUB_RELEASE= ${CONSOLEKIT_VER}
GITHUB_PROJECT= ConsoleKit2
MASTER_SITES= ${MASTER_SITE_GITHUB:=ConsoleKit2/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= youri@NetBSD.org
HOMEPAGE= https://github.com/ConsoleKit2/ConsoleKit2/
COMMENT= Framework for defining and tracking users, login sessions, and seats
LICENSE= gnu-gpl-v2
MESSAGE_SUBST+= PREFIX=${PREFIX}
BUILD_DEFS+= VARBASE \
PKG_SYSCONFBASE
EGDIR= ${PREFIX}/share/examples/consolekit
PKG_SYSCONFSUBDIR= ConsoleKit
RULESDIR= ${PREFIX}/share/polkit-1/rules.d
MAKE_DIRS= ${PKG_SYSCONFDIR}/run-seat.d \
${PKG_SYSCONFDIR}/run-session.d \
${PKG_SYSCONFDIR}/seats.d \
${PKG_SYSCONFBASE}/dbus-1/system.d \
${PKG_SYSCONFBASE}/logrotate.d \
${PKG_SYSCONFBASE}/X11/xinit/xinitrc.d
CONF_FILES+= ${EGDIR}/ConsoleKit/seats.d/00-primary.seat \
${PKG_SYSCONFDIR}/seats.d/00-primary.seat \
${EGDIR}/dbus-1/system.d/ConsoleKit.conf \
${PKG_SYSCONFBASE}/dbus-1/system.d/ConsoleKit.conf \
${EGDIR}/logrotate.d/consolekit \
${PKG_SYSCONFBASE}/logrotate.d/consolekit \
${EGDIR}/X11/xinit/xinitrc.d/90-consolekit \
${PKG_SYSCONFBASE}/X11/xinit/xinitrc.d/90-consolekit
GNU_CONFIGURE= YES
USE_TOOLS+= gmake intltool msgfmt perl pkg-config automake
USE_LIBTOOL= YES
CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFBASE} \
--localstatedir=${VARBASE} \
--enable-pam-module \
--with-pam-module-dir=${PREFIX}/lib/security \
CONFIGURE_ARGS.SunOS+= --enable-rbac-shutdown=solaris.system.shutdown
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} \
DBUS_SYS_DIR=${EGDIR}/dbus-1/system.d \
XINITRC_DIR=${EGDIR}/X11/xinit/xinitrc.d
post-install:
${MKDIR} ${DESTDIR}${RULESDIR} && \
${INSTALL_DATA} ${FILESDIR}/50-shutdown.rules \
${DESTDIR}${RULESDIR}/50-shutdown.rules
BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/polkit/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/pam.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>