aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/mutter/Makefile
blob: d9717cc1c69339adc5fb014bfc601f746d382290 (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
# Created by: Pawel Worach <pawel.worach@gmail.com>
# $FreeBSD$
#   $MCom: ports/x11-wm/mutter/Makefile,v 1.14 2010/06/29 21:14:07 kwm Exp $

PORTNAME=   mutter
PORTVERSION=    2.31.2
PORTREVISION=   3
CATEGORIES= x11-wm
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Window and compositing manager based on Clutter

BUILD_DEPENDS=  zenity:${PORTSDIR}/x11/zenity
LIB_DEPENDS=    libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
        libclutter-glx-1.0.so:${PORTSDIR}/graphics/clutter \
        libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra
RUN_DEPENDS=    zenity:${PORTSDIR}/x11/zenity

USE_XORG=   x11 xext xrandr xcomposite xcursor xinerama ice sm
USES=       gettext gmake libtool pathfix pkgconfig tar:bzip2
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
USE_GNOME=  gnomeprefix intlhack gtk20 gconf2
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GCONF_SCHEMAS=  mutter.schemas

post-patch:
    @${REINPLACE_CMD} -e 's|-Werror||g' \
            ${WRKSRC}/configure

.include <bsd.port.mk>