1 # Created by: Gustau Perez <gustau.perez@gmail.com>
4 PORTNAME= gnome-initial-setup
6 CATEGORIES= deskutils gnome
10 MAINTAINER= gnome@FreeBSD.org
11 COMMENT= First boot setup tool for GNOME 3
13 BUILD_DEPENDS= gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
14 gdm>=3.0.0:${PORTSDIR}/x11/gdm
15 LIB_DEPENDS= libgoa-1.0.so:${PORTSDIR}/net/gnome-online-accounts \
16 libaccountsservice.so:${PORTSDIR}/sysutils/accountsservice \
17 libpwquality.so:${PORTSDIR}/security/libpwquality \
18 libgweather-3.so:${PORTSDIR}/net/libgweather
19 RUN_DEPENDS= gdm>=3.0.0:${PORTSDIR}/x11/gdm
21 PORTSCOUT= limitw:1,even
23 USES= autoreconf compiler:c++11-lib gettext gmake libtool \
24 pathfix pkgconfig tar:xz
25 USE_GNOME= gnomedesktop3 gnomeprefix gtk30 intlhack
29 CPPFLAGS+= -I${LOCALBASE}/include
30 LDFLAGS+= -L${LOCALBASE}/lib
32 OPTIONS_DEFINE= KERBEROS
33 OPTIONS_DEFAULT=KERBEROS
35 .include <bsd.port.options.mk>
37 .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 900007
38 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gnome-initial-setup_pages_account_um-utils.c
41 .if !${PORT_OPTIONS:MKERBEROS}
42 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gnome-initial-setup_gis-account-page.c
46 @${REINPLACE_CMD} -e 's|krb5/krb5.h|krb5.h|g' \
47 ${WRKSRC}/gnome-initial-setup/pages/account/um-realm-manager.c
49 .include <bsd.port.mk>