aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/e17-utils/Makefile
blob: 2fcad3c935c6abf3329c2b23dcc48e41926bffb9 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
# New ports collection makefile for:    e17-utils
# Date created:     2006-07-16
# Whom:         Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $MBSDlabs$
# $FreeBSD$
#

PORTNAME=   utils
PORTVERSION=    20080223
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   ftp://ftp.springdaemons.com/pub/snapshots/e17/
PKGNAMEPREFIX=  e17-
DISTNAME=   e_${PORTNAME}-${PORTVERSION}

MAINTAINER= stas@FreeBSD.org
COMMENT=    Various supplementary utilities for e17 window manager

DATADIR=    ${PREFIX}/share/e_utils

GNU_CONFIGURE=  yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnometarget pkgconfig
USE_EFL=    imlib2 engrave ecore
USE_EFL_ECORE=  evas file config

OPTIONS=    SETROOT     "Build e17setroot"  on \
        ENTANGLE    "Build entangle"    on \
        EXIGE       "Build exige"       on

.include <bsd.port.pre.mk>

.if defined(WITHOUT_SETROOT) && defined(WITHOUT_ENTANGLE) && \
    defined(WITHOUT_EXIGE)
IGNORE=     select at least one utility to install
.endif

.if !defined(WITHOUT_SETROOT)
BUILD_DEPENDS+= enlightenment:${PORTSDIR}/x11-wm/enlightenment-devel
RUN_DEPENDS+=   enlightenment:${PORTSDIR}/x11-wm/enlightenment-devel
PLIST_SUB+= SETROOT=""
.else
PLIST_SUB+= SETROOT="@comment "
.endif

.if !defined(WITHOUT_ENTANGLE)
BUILD_DEPENDS+= enlightenment:${PORTSDIR}/x11-wm/enlightenment-devel
RUN_DEPENDS+=   enlightenment:${PORTSDIR}/x11-wm/enlightenment-devel
USE_EFL+=   edje eet
USE_EFL_ESMART+=    container text_entry
PLIST_SUB+= ENTANGLE=""
.else
PLIST_SUB+= ENTANGLE="@comment "
.endif

.if !defined(WITHOUT_EXIGE)
USE_EFL+=   edje eet
USE_EFL_ESMART+=    container text_entry
PLIST_SUB+= EXIGE=""
.else
PLIST_SUB+= EXIGE="@comment "
.endif

.include <bsd.port.post.mk>