summaryrefslogtreecommitdiffstats
path: root/x11-wm/mutter/Makefile
blob: a3a7442d37ce6c31cd92fbd307f9f8c1e6478f79 (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
# New ports collection makefile for:   mutter
# Date created:        14 Aug 2009
# Whom:                Pawel Worach <pawel.worach@gmail.com>
#
# $FreeBSD$
#   $MCom: ports/x11-wm/mutter/Makefile,v 1.2 2009/08/29 10:10:24 kwm Exp $
#

PORTNAME=   mutter
PORTVERSION=    2.27.4
PORTREVISION=   0
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 \
        ${LOCALBASE}/share/gir-1.0/Gtk-2.0.gir:${PORTSDIR}/devel/gir-repository
LIB_DEPENDS=    girepository-1.0:${PORTSDIR}/devel/gobject-introspection \
        startup-notification-1.0:${PORTSDIR}/x11/startup-notification \
        clutter-glx-1.0:${PORTSDIR}/graphics/clutter
RUN_DEPENDS=    zenity:${PORTSDIR}/x11/zenity

USE_BZIP2=  yes
USE_XORG=   x11 xext xrandr xcomposite xcursor xinerama ice sm
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:22
USE_GNOME=  gnomeprefix gnomehack intlhack gtk20 gconf2 ltverhack
USE_LDCONFIG=   yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  mutter.schemas

MAN1=       mutter-message.1 mutter-theme-viewer.1 \
        mutter-window-demo.1 mutter.1

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

.include <bsd.port.mk>