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

PORTNAME=   expedite
PORTVERSION=    1.7.10
CATEGORIES= benchmarks enlightenment
MASTER_SITES=   http://download.enlightenment.org/releases/

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

LICENSE=    BSD2CLAUSE

LIB_DEPENDS=    libefl.so:${PORTSDIR}/devel/efl

DIST_SUBDIR=    enlightenment
GNU_CONFIGURE=  yes
USES=       tar:bzip2 pkgconfig
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

.include <bsd.port.options.mk>

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

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

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

.include <bsd.port.mk>