freebsd-ports/sysutils/consolekit/Makefile
Koop Mast 6551f52192 Don't create the history log file at post-install, and don't list it in the
plist with a fixed checksum. Move the touch command to the plist, and clean
it up regardless of checksum.

PR:		202034
Submitted by:	peter@
2015-08-09 17:01:15 +00:00

37 lines
1.1 KiB
Makefile

# Created by: FreeBSD GNOME Team <gnome@freebsd.org>
# $FreeBSD$
PORTNAME= consolekit
PORTVERSION= 0.4.5
PORTREVISION= 4
CATEGORIES= sysutils gnome
MASTER_SITES= http://www.freedesktop.org/software/ConsoleKit/dist/
DISTFILES= ConsoleKit-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Framework for defining and tracking users
LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit
WRKSRC= ${WRKDIR}/ConsoleKit-${PORTVERSION}
USES= gettext gmake libtool pathfix pkgconfig tar:bzip2
USE_XORG= x11
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-pid-file=/var/run/${PORTNAME}.pid \
--enable-pam-module \
--with-pam-module-dir=${PREFIX}/lib \
--localstatedir=/var
INSTALL_TARGET= install-strip
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-display-device \
${STAGEDIR}${PREFIX}/libexec/ck-get-x11-display-device
${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-server-pid \
${STAGEDIR}${PREFIX}/libexec/ck-get-x11-server-pid
@${MKDIR} ${STAGEDIR}/var/log/ConsoleKit
.include <bsd.port.mk>