blob: cac5674bbf2e133c292f5a8f71388e6951f3dcda (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: ConsoleKit
# Date Created: 26 Aug 2006
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/sysutils/consolekit/Makefile,v 1.17 2008/08/21 21:52:59 mezz Exp $
PORTNAME= consolekit
PORTVERSION= 0.3.0
PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= http://people.freedesktop.org/~mccann/dist/
DISTFILES= ConsoleKit-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Framework for defining and tracking users
LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
polkit.2:${PORTSDIR}/sysutils/policykit
WRKSRC= ${WRKDIR}/ConsoleKit-${PORTVERSION}
USE_BZIP2= yes
USE_XORG= x11
USE_GNOME= gnomehack
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-pid-file=/var/run/${PORTNAME}.pid \
--localstatedir=/var
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-display-device \
${PREFIX}/libexec/ck-get-x11-display-device
${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-server-pid \
${PREFIX}/libexec/ck-get-x11-server-pid
${MKDIR} /var/log/ConsoleKit
${TOUCH} /var/log/ConsoleKit/history
.include <bsd.port.mk>
|