aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/expedite/Makefile
blob: cdc47fd6761e1530c144767735ef92019b6789c3 (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
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$

PORTNAME=   expedite
PORTVERSION=    1.7.8
CATEGORIES= benchmarks enlightenment
MASTER_SITES=   http://download.enlightenment.fr/releases/ \
        LOCAL/gblach/e17/

MAINTAINER= gblach@FreeBSD.org
COMMENT=    Expedite is a benchmark suite for Evas

LICENSE=    BSD

DIST_SUBDIR=    e17
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USES=       pkgconfig
USE_EFL=    evas
USE_EFL_EVAS_ENGINES=   buffer
USE_LDCONFIG=   yes

OPTIONS_DEFINE= OPENGL SDL X11
OPTIONS_DEFAULT=OPENGL X11
OPENGL_DESC=    Enable OpenGL evas engine
SDL_DESC=   Enable SDL evas engine
X11_DESC=   Enable X11 evas engine

NO_STAGE=   yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MOPENGL}
USE_EFL_EVAS_ENGINES+=  opengl
CONFIGURE_ARGS+=    --enable-opengl-x11
.else
CONFIGURE_ARGS+=    --disable-opengl-x11
.endif

.if ${PORT_OPTIONS:MSDL}
USE_EFL_EVAS_ENGINES+=  sdl
CONFIGURE_ARGS+=    --enable-software-sdl
.else
CONFIGURE_ARGS+=    --disable-software-sdl
.endif

.if ${PORT_OPTIONS:MX11}
USE_EFL_EVAS_ENGINES+=  x11
CONFIGURE_ARGS+=    --enable-software-x11 --enable-xrender-x11
.else
CONFIGURE_ARGS+=    --disable-software-x11 --disable-xrender-x11
.endif

.include <bsd.port.mk>