summaryrefslogblamecommitdiffstats
path: root/sysutils/policykit/Makefile
blob: 222aeed7adf0e43374601b2e4244d02a01bbfc39 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                
                                           


                                                                      
                                                                                    


                         
                            
                 






                                                                          
                                                         




                                     
                   
                                   

                                                              



                                                   

                       





                                                                                   
# New ports collection makefile for:   PolicyKit
# Date Created:         01 May 2006
# Whom:             Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/sysutils/policykit/Makefile,v 1.11 2006/10/07 17:10:08 marcus Exp $
#

PORTNAME=   policykit
PORTVERSION=    0.1.20060514
PORTREVISION=   2
CATEGORIES= sysutils gnome
MASTER_SITES=   http://www.marcuscom.com/downloads/
DISTNAME=   PolicyKit-${PORTVERSION}

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Framework for controlling access to system-wide components

LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib

USE_BZIP2=  yes
USE_GNOME=  gnomehack gnometarget
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --disable-gtk-doc \
        --with-pid-file=/var/run/polkitd/polkitd.pid \
        --with-pam-include=system
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib" \
        GTKDOC="false"

USE_RC_SUBR=    polkitd

post-install:
.if !defined(PACKAGE_BUILDING)
    @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif

.include <bsd.port.mk>