summaryrefslogblamecommitdiffstats
path: root/sysutils/accountsservice/Makefile
blob: 7026f7cb8f1a8b2f59b6a1f0bb919517abec2edc (plain) (tree)
1
2
3
4
5
6
7
8
                                         
           
           

                               
                      
                              
                                                                



                                                                       

                                                                  
 
                                                                     
                                                                     

                   
                                                       

                                      
 
           
                                                                                          
                                      



                                                                             
                                                       
 
                      
 
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
#    $MCom$

PORTNAME=   accountsservice
PORTVERSION=    0.6.37
CATEGORIES= sysutils devel
MASTER_SITES=   http://www.freedesktop.org/software/${PORTNAME}/

MAINTAINER= kwm@FreeBSD.org
COMMENT=    D-Bus interface for user account query and manipulation

LIB_DEPENDS=    libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
        libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit

USE_GNOME=  glib20 gnomehier intlhack introspection:build libxslt
USES=       gettext gmake libtool:keepla pathfix pkgconfig tar:xz
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --disable-systemd --localstatedir=/var/
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|/etc/gdm/custom.conf|${LOCALBASE}/etc/gdm/custom.conf|g' \
        ${WRKSRC}/src/daemon.c
    @${REINPLACE_CMD} -e 's|/lib/AccountsService|/db/AccountsService|g' \
        ${WRKSRC}/src/user.c ${WRKSRC}/src/Makefile.in

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so*

.include <bsd.port.mk>