aboutsummaryrefslogtreecommitdiff
path: root/x11/gnome-shell/Makefile
blob: 8aac777d078bf2eab5b11701556aa2484ec3a505 (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
# Created by: Pawel Worach <pawel.worach@gmail.com>
# $FreeBSD$
#   $MCom: ports/x11/gnome-shell/Makefile,v 1.16 2010/11/20 15:05:25 kwm Exp $

PORTNAME=	gnome-shell
PORTVERSION=	2.31.2
PORTREVISION=	1
CATEGORIES=	x11 gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Next generation GNOME desktop shell

LIB_DEPENDS=	libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
		libmutter-private.so:${PORTSDIR}/x11-wm/mutter \
		libclutter-glx-1.so:${PORTSDIR}/graphics/clutter \
		libgjs-gi.so:${PORTSDIR}/lang/gjs
RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/py-dbus \
    		glxinfo:${PORTSDIR}/graphics/mesa-demos

BROKEN=		Doesn't build

USE_XORG=	x11 xfixes sm
USES=		gettext gmake tar:bzip2
USE_AUTOTOOLS=	libtool
USE_GNOME=	gnomeprefix gnomehack intlhack gtk20 gconf2 gnomemenus \
		gnomedesktop ltverhack libgnomeui librsvg2
USE_GSTREAMER=	theora
USE_LDCONFIG=	yes
CPPFLAGS+=	-I${LOCALBASE}/include/js -I${LOCALBASE}/include/nspr

GCONF_SCHEMAS=	gnome-shell.schemas

MAN1=		gnome-shell.1

post-patch:
	@${REINPLACE_CMD} -e 's|-Werror||g' \
		${WRKSRC}/configure
	@${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|g' \
		-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
		${WRKSRC}/src/gnome-shell.in
# temp hack around configure failure in 2.29.90. Fixed upstream
	@${REINPLACE_CMD} -e 's|@GETTEXT_PACKAGE@|gnome-shell|g' \
		${WRKSRC}/po/Makefile.in.in

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>