aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ewl/Makefile
blob: 89ba1f66029855fdb41fb349bf9a744b09994267 (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
# New ports collection makefile for:	ewl
# Date created:				08/08/2004
# Whom:					vanilla
#
# $FreeBSD$
#

PORTNAME=	ewl
PORTVERSION=	20060926
PORTREVISION=	0
PORTEPOCH=	1
CATEGORIES=	x11-toolkits
MASTER_SITES=	http://sunner.elcomnet.ru/~stas/

MAINTAINER=	stas@FreeBSD.org
COMMENT=	Enlightened Widget Library

GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomehack pkgconfig gnometarget
USE_EFL=	embryo edb evas edje ecore
WANT_EFL=	yes
USE_LDCONFIG=	yes

OPTIONS=	EPSILON	"Enable Epsilon Support for Ewl_Image" on \
		EMOTION "Enable Emotion Support for Ewl_Media" on

.include <bsd.port.pre.mk>
BEFOREPORTMK=	yes
.include "../../x11-wm/enlightenment-devel/bsd.efl.mk"
.undef BEFOREPORTMK

.if ${ARCH} == ia64
BROKEN=		does not compile on ${ARCH}
.endif

.if !defined(WITHOUT_EPSILON) || ${HAVE_EFL:Mepsilon}
USE_EFL+=	epsilon
PLIST_SUB+=	EPSILON=""
.else
PLIST_SUB+=	EPSILON="@comment "
.endif

.if !defined(WITHOUT_EMOTION) || ${HAVE_EFL:Memotion}
USE_EFL+=	emotion
PLIST_SUB+=	EMOTION=""
.else
PLIST_SUB+=	EMOTION="@comment "
.endif

.if exists(${LOCALBASE}/include/Evas_Engine_GL_X11.h)
PLIST_SUB+=	EVAS_GL=""
.else
PLIST_SUB+=	EVAS_GL="@comment "
.endif

.include "../../x11-wm/enlightenment-devel/bsd.efl.mk"
.include <bsd.port.post.mk>