aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/empower/Makefile
blob: c9586bc6df96dd5b721f4a2b8fa29aec78f72b41 (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
# New ports collection makefile for:    empower
# Date created:     2006-08-14
# Whom:         Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $MBSDlabs$
# $FreeBSD$
#

PORTNAME=   empower
PORTVERSION=    20070223
CATEGORIES= sysutils
MASTER_SITES=   ftp://ftp.springdaemons.com/pub/snapshots/e17/

MAINTAINER= stas@FreeBSD.org
COMMENT=    A graphical sudo tool based on the EFL

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack pkgconfig gnometarget
USE_EFL=    evas ecore edje
WANT_EFL=   yes
GNU_CONFIGURE=  yes

OPTIONS=    EWL "Build EWL backend" on \
        ETK "Build ETK backed" off

.include <bsd.port.pre.mk>
BEFOREPORTMK=   yes
.include "../../x11-wm/enlightenment-devel/bsd.efl.mk"
.undef BEFOREPORTMK

.if defined(WITHOUT_EWL) && !defined(WITH_ETK)
BROKEN=     you should select either ETK or EWL
.endif

.if !defined(WITHOUT_EWL) || ${HAVE_EFL:Mewl}
USE_EFL+=   ewl
PLIST_FILES+=   bin/empower_ewl
.endif

.if defined(WITH_ETK) || ${HAVE_EFL:Metk}
USE_EFL+=   etk
PLIST_FILES+=   bin/empower_etk
.endif

.include "../../x11-wm/enlightenment-devel/bsd.efl.mk"
.include <bsd.port.post.mk>