aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ethumb/Makefile
blob: 2de31a02dd4cd285384303a75c33fd201e7a529f (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
# New ports collection makefile for:    ethumb
# Date created:             29 August 2010
# Whom:                 Grzegorz Blach <magik@roorback.net>
#
# $FreeBSD$
#

PORTNAME=   ethumb
PORTVERSION=    0.1.1.56361
PORTREVISION=   2
CATEGORIES= graphics enlightenment
MASTER_SITES=   http://files.roorback.net/e17/2011-01-29/extra/

MAINTAINER= magik@roorback.net
COMMENT=    Thumbnail generator library

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

LICENSE=    LGPL21
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=    EMOTION "Build with Emotion module" on \
        ETHUMBD "Build ethumbd daemon (requires dbus)" on

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_EMOTION)
USE_EFL+=   emotion
CONFIGURE_ARGS+=    --enable-emotion
PLIST_SUB+= EMOTION=""
.else
CONFIGURE_ARGS+=    --disable-emotion
PLIST_SUB+= EMOTION="@comment "
.endif

.if !defined(WITHOUT_ETHUMBD)
USE_EFL+=   edbus
PLIST_SUB+= ETHUMBD=""
CONFIGURE_ARGS+=    --enable-ethumbd
.else
PLIST_SUB+= ETHUMBD="@comment "
CONFIGURE_ARGS+=    --disable-ethumbd
.endif

.include <bsd.port.post.mk>