summaryrefslogtreecommitdiffstats
path: root/graphics/ethumb/Makefile
blob: acdd263f793fca4c36c90d68772996f37e8cefd3 (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
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$

PORTNAME=	ethumb
PORTVERSION=	1.7.4
CATEGORIES=	graphics enlightenment
MASTER_SITES=	http://download.enlightenment.org/releases/ \
		LOCAL/gblach/e17/

MAINTAINER=	gblach@FreeBSD.org
COMMENT=	Thumbnail generator library

LICENSE=	LGPL21

LIB_DEPENDS=	exif:${PORTSDIR}/graphics/libexif

DIST_SUBDIR=	e17
USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_EFL=	eina evas ecore edje libtool_hack
USE_EFL_ECORE=	evas file x11 input_evas
USE_GNOME=	gnomehack pkgconfig
USE_LDCONFIG=	yes

CONFIGURE_ARGS=	--disable-epdf

OPTIONS_DEFINE=	EMOTION ETHUMBD
OPTIONS_DEFAULT=EMOTION ETHUMBD
EMOTION_DESC=	Build with Emotion module
ETHUMBD_DESC=	Build ethumbd daemon (requires dbus)

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MEMOTION}
USE_EFL+=	emotion
CONFIGURE_ARGS+=	--enable-emotion
PLIST_SUB+=	EMOTION=""
.else
CONFIGURE_ARGS+=	--disable-emotion
PLIST_SUB+=	EMOTION="@comment "
.endif

.if ${PORT_OPTIONS:METHUMBD}
USE_EFL+=	edbus
PLIST_SUB+=	ETHUMBD=""
CONFIGURE_ARGS+=	--enable-ethumbd
.else
PLIST_SUB+=	ETHUMBD="@comment "
CONFIGURE_ARGS+=	--disable-ethumbd
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud