summaryrefslogblamecommitdiffstats
path: root/sysutils/consolekit/Makefile
blob: 00455587a1d09a31fcb0eefa5bd4cd7511616a18 (plain) (tree)
1
2
3
4
5



                                                                         
           
































                                                                 
# New ports collection makefile for:    ConsoleKit
# Date Created:             26 Aug 2006
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   consolekit
PORTVERSION=    0.2.3
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

WRKSRC=     ${WRKDIR}/ConsoleKit-${PORTVERSION}
USE_XORG=   x11
USE_GNOME=  gnomehack gnometarget
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

USE_RC_SUBR=    consolekit
USE_GNOME_SUBR= yes

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

.include <bsd.port.mk>