aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/accountsservice/Makefile
blob: 814fda54fd03de41b9b13d5951c38d64da959247 (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
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   accountsservice
PORTVERSION=    0.6.40
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

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/COPYING

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

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

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

.include <bsd.port.mk>