Import x11-wm/enlightenment version 0.17.2.1,2
[dports.git] / x11-wm / enlightenment / Makefile
1 # Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
2 # $FreeBSD: x11-wm/enlightenment/Makefile 316683 2013-04-27 18:25:24Z mva $
3
4 PORTNAME=       enlightenment
5 PORTVERSION=    0.17.2.1
6 PORTEPOCH=      2
7 CATEGORIES=     x11-wm enlightenment
8 MASTER_SITES=   http://download.enlightenment.fr/releases/ \
9                 LOCAL/gblach/e17/
10
11 MAINTAINER=     gblach@FreeBSD.org
12 COMMENT=        A very artistic X window manager
13
14 LICENSE=        BSD
15
16 LIB_DEPENDS=    execinfo:${PORTSDIR}/devel/libexecinfo \
17                 xcb-keysyms:${PORTSDIR}/x11/xcb-util-keysyms
18
19 DIST_SUBDIR=    e17
20 USE_BZIP2=      yes
21 GNU_CONFIGURE=  yes
22 USES=           pathfix iconv
23 USE_GMAKE=      yes
24 USE_EFL=        eina eet evas ecore eio edbus efreet edje \
25                 libtool_hack librt_hack modarch_hack
26 USE_EFL_EVAS_LOADERS=   eet jpeg png
27 USE_EFL_EVAS_ENGINES=   buffer
28 USE_EFL_ECORE=  ipc
29 USE_LDCONFIG=   yes
30 SUB_FILES=      pkg-message
31
32 CONFIGURE_ARGS= --with-profile=MEDIUM_PC \
33                 --disable-connman
34
35 OPTIONS_DEFINE= ILLUME
36 ILLUME_DESC=    Enable illume module
37
38 .include <bsd.port.options.mk>
39
40 .if ${PORT_OPTIONS:MILLUME}
41 CONFIGURE_ARGS+=--enable-illume2
42 PLIST_SUB+=     ILLUME=""
43 .else
44 CONFIGURE_ARGS+=--disable-illume2
45 PLIST_SUB+=     ILLUME="@comment "
46 .endif
47
48 .if ${PORT_OPTIONS:MNLS}
49 USES+=          gettext
50 CONFIGURE_ARGS+=--enable-nls
51 PLIST_SUB+=     NLS=""
52 .else
53 CONFIGURE_ARGS+=--disable-nls
54 PLIST_SUB+=     NLS="@comment "
55 .endif
56
57 post-patch:
58         @${REINPLACE_CMD} -e 's|\-relname||' ${WRKSRC}/configure
59         @${REINPLACE_CMD} -e 's|\(setuid_root_mode = a=rx,u+x\)s|\1|g' \
60                 ${WRKSRC}/src/bin/Makefile.in
61         @${REINPLACE_CMD} -e 's|@E_FM_LIBS@|@E_FM_LIBS@ -lehal -leukit|' \
62                 ${WRKSRC}/src/bin/e_fm/Makefile.in
63
64 post-install:
65         @${CAT} ${PKGMESSAGE}
66
67 .if ${ARCH} == "sparc64"
68 BROKEN=         Does not install on sparc64: signal 10
69 .endif
70
71 .include <bsd.port.mk>