# Created by: Garrett Rooney <rooneg@electricjellyfish.net>
# $FreeBSD: tags/RELEASE_11_0_0/x11-wm/metacity/Makefile 412351 2016-04-01 14:33:55Z mat $

PORTNAME=	metacity
PORTVERSION=	3.18.1
CATEGORIES=	x11-wm
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome3

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Window manager for the adult in you

BUILD_DEPENDS=	zenity>=3.0.0:x11/zenity \
		itstool:textproc/itstool \
		gsettings-desktop-schemas>=3.3.0:devel/gsettings-desktop-schemas
LIB_DEPENDS=	libstartup-notification-1.so:x11/startup-notification \
		libgtop-2.0.so:devel/libgtop \
		libcanberra-gtk3.so:audio/libcanberra-gtk3
RUN_DEPENDS=	zenity>=3.0.0:x11/zenity \
		gsettings-desktop-schemas>=3.3.0:devel/gsettings-desktop-schemas

PORTSCOUT=	limitw:1,even

USE_XORG=	x11 xcomposite xdamage xrender xcursor xinerama xext xrandr
USES=		compiler:c11 gettext gmake gnome libtool \
		pathfix pkgconfig tar:xz
GNU_CONFIGURE=	yes
USE_GNOME=	gnomeprefix gtk30 intlhack libxml2:build
USE_LDCONFIG=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip

GLIB_SCHEMAS=	org.gnome.metacity.gschema.xml

.include <bsd.port.mk>
