aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/compiz-plugins-main/Makefile
blob: 5b705aac91395e2d7806fc21246d1f7dd8355e5e (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
PORTNAME=	compiz-plugins-main
PORTVERSION=	0.8.8
PORTREVISION=	10
CATEGORIES=	x11-wm
MASTER_SITES=	https://BSDforge.com/projects/source/x11-wm/compiz-plugins-main/

MAINTAINER=	portmaster@BSDforge.com
COMMENT=	Plugins for Compiz Composite Window Manager

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libcairo.so:graphics/cairo \
		libpangocairo-1.0.so:x11-toolkits/pango \
		libstartup-notification-1.so:x11/startup-notification
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz \
		${LOCALBASE}/libdata/pkgconfig/bcop.pc:devel/compiz-bcop
RUN_DEPENDS:=	${BUILD_DEPENDS}

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USES=		gettext-tools gl gmake gnome jpeg libtool:keepla localbase:ldflags pathfix \
		pkgconfig tar:bzip2 xorg
USE_CSTD=	gnu89
USE_GL=		glu
USE_GNOME=	intltool libxslt
USE_XORG=	ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto xrandr xrender
USE_LDCONFIG=	yes

# Fix build with clang11
CFLAGS+=	-fcommon

CONFIGURE_ARGS=	--disable-schemas

OPTIONS_DEFINE=		NLS

NLS_CONFIGURE_ENABLE=	nls
NLS_USES=		gettext-runtime

.include <bsd.port.mk>