summaryrefslogtreecommitdiffstats
path: root/x11-wm/metacity/Makefile
blob: f96db60b6580cee86a972a0ce5aa5698d156486e (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:   metacity
# Date created:        21 May 2002
# Whom:                Garrett Rooney <rooneg@electricjellyfish.net>
#
# $FreeBSD$
#   $MCom: ports/x11-wm/metacity/Makefile,v 1.147 2009/05/03 10:23:21 kwm Exp $
#

PORTNAME=   metacity
PORTVERSION=    2.27.0
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

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

BUILD_DEPENDS=  zenity:${PORTSDIR}/x11/zenity
LIB_DEPENDS=    startup-notification-1.0:${PORTSDIR}/x11/startup-notification \
            canberra-gtk.0:${PORTSDIR}/audio/libcanberra
RUN_DEPENDS=    zenity:${PORTSDIR}/x11/zenity

CONFLICTS=  expocity-[0-9]*
USE_BZIP2=  yes
USE_XORG=   x11 xcomposite xdamage
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
USE_GNOME=  gnomeprefix intlhack gnomehack gconf2 ltverhack gtk20
USE_LDCONFIG=   yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV=   G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias"

GCONF_SCHEMAS=  metacity.schemas

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

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

.include <bsd.port.mk>