Tweak deskutils/nagaina version 0.1.2_10
[dports.git] / deskutils / gnome-initial-setup / Makefile
1 # Created by: Gustau Perez <gustau.perez@gmail.com>
2 # $FreeBSD$
3
4 PORTNAME=       gnome-initial-setup
5 PORTVERSION=    3.16.3
6 CATEGORIES=     deskutils gnome
7 MASTER_SITES=   GNOME
8 DIST_SUBDIR=    gnome3
9
10 MAINTAINER=     gnome@FreeBSD.org
11 COMMENT=        First boot setup tool for GNOME 3
12
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
20
21 PORTSCOUT=      limitw:1,even
22
23 USES=           autoreconf compiler:c++11-lib gettext gmake libtool \
24                 pathfix pkgconfig tar:xz
25 USE_GNOME=      gnomedesktop3 gnomeprefix gtk30 intlhack
26 USE_LDCONFIG=   yes
27 GNU_CONFIGURE=  yes
28 INSTALLS_ICONS= yes
29 CPPFLAGS+=      -I${LOCALBASE}/include
30 LDFLAGS+=       -L${LOCALBASE}/lib
31
32 OPTIONS_DEFINE= KERBEROS
33 OPTIONS_DEFAULT=KERBEROS
34
35 .include <bsd.port.options.mk>
36
37 .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 900007
38 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gnome-initial-setup_pages_account_um-utils.c
39 .endif
40
41 .if !${PORT_OPTIONS:MKERBEROS}
42 EXTRA_PATCHES+=         ${FILESDIR}/extra-patch-gnome-initial-setup_gis-account-page.c
43 .endif
44
45 post-patch:
46                 @${REINPLACE_CMD} -e 's|krb5/krb5.h|krb5.h|g' \
47                         ${WRKSRC}/gnome-initial-setup/pages/account/um-realm-manager.c
48
49 .include <bsd.port.mk>