aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/enlightenment/Makefile
blob: 4deba354ceadc3f918db6b59d207f125006d834f (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
# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$

PORTNAME=   enlightenment
PORTVERSION=    0.19.1
PORTEPOCH=  2
CATEGORIES= x11-wm enlightenment
MASTER_SITES=   http://download.enlightenment.org/rel/apps/${PORTNAME}/

MAINTAINER= gblach@FreeBSD.org
COMMENT=    Artistic X window manager

LICENSE=    BSD2CLAUSE

LIB_DEPENDS=    libefl.so:${PORTSDIR}/devel/efl \
        libelementary.so:${PORTSDIR}/x11-toolkits/elementary \
        libedbus.so:${PORTSDIR}/devel/e_dbus \
        libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms
RUN_DEPENDS=    ${LOCALBASE}/lib/evas/utils/evas_image_loader.svg:${PORTSDIR}/graphics/evas_generic_loaders-svg

DIST_SUBDIR=    enlightenment
USE_AUTOTOOLS=  autoconf aclocal
GNU_CONFIGURE=  yes
USES=       alias desktop-file-utils execinfo libtool pathfix iconv gmake pkgconfig tar:xz
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip
SUB_FILES=  pkg-message

CONFIGURE_ARGS= --with-profile=MEDIUM_PC \
        --disable-connman --disable-bluez4 --disable-temperature \
        --disable-device-udev --disable-mount-udisks

.include "Makefile.plist"

DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
DOCS_CONFIGURE_ENABLE=  doc

NLS_USES=       gettext
NLS_CONFIGURE_ENABLE=   nls

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+=     NLS=""
.else
PLIST_SUB+=     NLS="@comment "
.endif

post-patch:
    @${REINPLACE_CMD} -e \
        's/\(setuid_root_mode = a=rx,u+x\)s/\1/g' \
        ${WRKSRC}/src/bin/Makefile.mk \
        ${WRKSRC}/src/modules/Makefile_cpufreq.mk

.if ${ARCH} == "sparc64"
BROKEN=     Does not install on sparc64: signal 10
.endif

.include <bsd.port.mk>