summaryrefslogtreecommitdiff
path: root/x11-wm/compiz-plugins-extra/Makefile
blob: 3b21565005163f3e8fb7b1c45f7c36216ca39862 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
# Created by: Robert Noland <rnoland@FreeBSD.org>
# $FreeBSD$

PORTNAME=	compiz-plugins-extra
PORTVERSION=	0.8.8
PORTREVISION=	3
CATEGORIES=	x11-wm
MASTER_SITES=	http://releases.compiz.org/${PORTVERSION}/

MAINTAINER=	freebsd-ports@dan.me.uk
COMMENT=	Plugins for Compiz Composite Window Manager

LIB_DEPENDS=	libcairo.so:graphics/cairo \
		libnotify.so:devel/libnotify
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz \
		${LOCALBASE}/libdata/pkgconfig/bcop.pc:devel/compiz-bcop \
		${LOCALBASE}/libdata/pkgconfig/compiz-text.pc:x11-wm/compiz-plugins-main
RUN_DEPENDS:=	${BUILD_DEPENDS}

GNU_CONFIGURE=	yes
USE_GL=		yes
USES=		gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2
USE_GNOME=	gconf2 intltool
USE_XORG=	glproto
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

GCONF_SCHEMAS=	compiz-3d.schemas \
		compiz-addhelper.schemas \
		compiz-animationaddon.schemas \
		compiz-bench.schemas \
		compiz-bicubic.schemas \
		compiz-crashhandler.schemas \
		compiz-cubeaddon.schemas \
		compiz-extrawm.schemas \
		compiz-fadedesktop.schemas \
		compiz-firepaint.schemas \
		compiz-gears.schemas \
		compiz-grid.schemas \
		compiz-group.schemas \
		compiz-loginout.schemas \
		compiz-maximumize.schemas \
		compiz-mblur.schemas \
		compiz-notification.schemas \
		compiz-reflex.schemas \
		compiz-scalefilter.schemas \
		compiz-shelf.schemas \
		compiz-showdesktop.schemas \
		compiz-showmouse.schemas \
		compiz-splash.schemas \
		compiz-trailfocus.schemas \
		compiz-wallpaper.schemas \
		compiz-widget.schemas

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ARGS=	--enable-schemas

post-patch:
	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|'	\
		${WRKSRC}/src/group/group-internal.h	\

.include <bsd.port.mk>