aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/compiz-plugins-extra/Makefile
blob: e63a8a32b9f7fdc93c5d3e1ad00f6d623e94670a (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
# New ports collection makefile for:    compiz-fusion-plugins-extra
# Date created:             2007-08-17
# Whom:                 Robert Noland <rnoland@2hip.net>
#
# $FreeBSD$
#

PORTNAME=   compiz-fusion-plugins-extra
PORTVERSION=    0.6.0
#PORTREVISION=  1
CATEGORIES= x11-wm
MASTER_SITES=   http://releases.compiz-fusion.org/${PORTVERSION}/

MAINTAINER= rnoland@2hip.net
COMMENT=    Plugins for Compiz Composite Window Manager

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

GNU_CONFIGURE=  yes
USE_GL=     yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack intltool
USE_XORG=   glproto
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool:15

GCONF_SCHEMAS=  compiz-addhelper.schemas \
        compiz-bench.schemas \
        compiz-crashhandler.schemas \
        compiz-cubecaps.schemas \
        compiz-cubereflex.schemas \
        compiz-extrawm.schemas \
        compiz-fadedesktop.schemas \
        compiz-firepaint.schemas \
        compiz-gears.schemas \
        compiz-group.schemas \
        compiz-mblur.schemas \
        compiz-reflex.schemas \
        compiz-scalefilter.schemas \
        compiz-showdesktop.schemas \
        compiz-splash.schemas \
        compiz-trailfocus.schemas \
        compiz-widget.schemas

CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  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>