aboutsummaryrefslogtreecommitdiff
path: root/deskutils/gnome-initial-setup/Makefile
blob: b89d6f4399b2373bc2f34491b60f4004e3c1b058 (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
42
43
44
45
# Created by: Gustau Perez <gustau.perez@gmail.com>
# $FreeBSD$

PORTNAME=	gnome-initial-setup
PORTVERSION=	3.16.3
CATEGORIES=	deskutils gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome3

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	First boot setup tool for GNOME 3

BUILD_DEPENDS=	gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
		gdm>=3.0.0:${PORTSDIR}/x11/gdm
LIB_DEPENDS=	libgoa-1.0.so:${PORTSDIR}/net/gnome-online-accounts \
		libaccountsservice.so:${PORTSDIR}/sysutils/accountsservice \
		libpwquality.so:${PORTSDIR}/security/libpwquality \
		libgweather-3.so:${PORTSDIR}/net/libgweather
RUN_DEPENDS=	gdm>=3.0.0:${PORTSDIR}/x11/gdm

PORTSCOUT=	limitw:1,even

USES=		autoreconf compiler:c++11-lib gettext gmake libtool \
		pathfix pkgconfig tar:xz
USE_GNOME=	gnomedesktop3 gnomeprefix gtk30 intlhack
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

OPTIONS_DEFINE=	KERBEROS
OPTIONS_DEFAULT=KERBEROS

.include <bsd.port.options.mk>

.if !${PORT_OPTIONS:MKERBEROS}
EXTRA_PATCHES+=		${FILESDIR}/extra-patch-gnome-initial-setup_gis-account-page.c
.endif

post-patch:
		@${REINPLACE_CMD} -e 's|krb5/krb5.h|krb5.h|g' \
			${WRKSRC}/gnome-initial-setup/pages/account/um-realm-manager.c

.include <bsd.port.mk>