summaryrefslogtreecommitdiff
path: root/x11-wm/enlightenment/Makefile
blob: a4422bdc740be6383c8bf569890ed65ff9e59e16 (plain)
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>

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

MAINTAINER=	enlightenment@FreeBSD.org
COMMENT=	Artistic and fast X window manager

LICENSE=	BSD2CLAUSE

LIB_DEPENDS=	libefl.so:devel/efl \
		libpulse.so:audio/pulseaudio

USES=		compiler:c11 cpe desktop-file-utils gettext-tools gnome \
		localbase:ldflags meson ninja iconv libtool pathfix pkgconfig \
		tar:xz xorg
USE_XORG=	xcb
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

MESON_ARGS=	-Dsystemd=false -Ddevice-udev=false \
		-Dmount-udisks=false -Dmount-eeze=false -Dbluez5=false \
		-Dconnman=false --sysconfdir=/usr/local/etc


OPTIONS_DEFINE=		NLS
OPTIONS_SUB=		yes

NLS_USES=		gettext-runtime
NLS_MESON_TRUE=		nls

# MESON normalizes ${ARCH} so we cannot use it 'AS IS' without conversion
CURRENT_ARCH=	${ARCH}
.if ${CURRENT_ARCH} == amd64
ENLIGHTENMENT_ARCH=	${OPSYS:tl}-x86_64
.else
.if ${CURRENT_ARCH} == i386
ENLIGHTENMENT_ARCH=	${OPSYS:tl}-x86
.else
.if ${CURRENT_ARCH:Mpowerpc64*}
ENLIGHTENMENT_ARCH=	${OPSYS:tl}-ppc64
.else
.if ${CURRENT_ARCH} == powerpc
ENLIGHTENMENT_ARCH=	${OPSYS:tl}-ppc
.else
ENLIGHTENMENT_ARCH=	${OPSYS:tl}-${CURRENT_ARCH}
.endif
.endif
.endif
.endif

ENLIGHTENMENT_VERSION=	0.24.2
PLIST_SUB=              ENLIGHTENMENT_ARCH=${ENLIGHTENMENT_ARCH}-${ENLIGHTENMENT_VERSION}

.include <bsd.port.mk>