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

PORTNAME=	ewl
PORTVERSION=	20070223
PORTREVISION=	0
PORTEPOCH=	1
CATEGORIES=	x11-toolkits
MASTER_SITES=	ftp://ftp.springdaemons.com/pub/snapshots/e17/

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>

.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 <bsd.port.post.mk>