aboutsummaryrefslogblamecommitdiff
path: root/deskutils/gnome-initial-setup/Makefile
blob: 86c01ab5b774595715a86cb4131646d45bb65db9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                   

                                   
                      
                 






                                                 






                                                                
 

                             
                                                                           
                                        











                                                        





                                                                                      

                                                                                      
                      
# Created by: Gustau Perez <gustau.perez@gmail.com>

PORTNAME=	gnome-initial-setup
PORTVERSION=	3.18.0
PORTREVISION=	9
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:devel/gnome-common \
		gdm>=3.0.0:x11/gdm
LIB_DEPENDS=	libgoa-1.0.so:net/gnome-online-accounts \
		libaccountsservice.so:sysutils/accountsservice \
		libpwquality.so:security/libpwquality \
		libgweather-3.so:net/libgweather
RUN_DEPENDS=	gdm>=3.0.0:x11/gdm

PORTSCOUT=	limitw:1,even

USES=		autoreconf compiler:c++11-lib gettext gmake gnome 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>