aboutsummaryrefslogtreecommitdiff
path: root/x11/gnome-terminal/Makefile
blob: d9cf4aa74c6102b63f6339a39096ca1585108f12 (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
46
47
48
49
50
51
52
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/x11/gnome-terminal/Makefile 19971 2014-10-16 09:27:16Z gusi $

PORTNAME=	gnome-terminal
PORTVERSION=	3.14.1
CATEGORIES=	x11 gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome3

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Terminal component for the GNOME 3 Desktop

BUILD_DEPENDS=	gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \
		itstool:${PORTSDIR}/textproc/itstool \
		appdata-tools>=0:${PORTSDIR}/devel/appdata-tools \
		vala:${PORTSDIR}/lang/vala
LIB_DEPENDS=	libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
		libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid
RUN_DEPENDS=	gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas

USES=		gettext gmake libtool pathfix pkgconfig tar:xz
USE_GNOME=	dconf gnomeprefix gtk30 intlhack nautilus3 vte3
USE_XORG=	sm ice
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-search-provider
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip

GLIB_SCHEMAS=	org.gnome.Terminal.gschema.xml

OPTIONS_SUB=			yes
OPTIONS_DEFINE=			MIGRATION
OPTIONS_DEFAULT=		MIGRATION
MIGRATION_CONFIGURE_ENABLE=	migration
MIGRATION_USE=			GNOME=gconf2
MIGRATION_DESC=			Profile migration to gsettings (pulls in gconf2)

.include <bsd.port.options.mk>

post-patch:
	@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \
		${WRKSRC}/configure ${WRKSRC}/config.h.in
.if ${OSVERSION} < 1000000
	@${REINPLACE_CMD} -e 's|-Wno-suggest-attribute=format||g ; \
		s|-Wno-unused-but-set-variable||g' \
		${WRKSRC}/src/Makefile.in
EXTRA_PATCHES+=	${FILESDIR}/extra-src_terminal-screen.c
.endif

.include <bsd.port.mk>