aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/elementary/Makefile
blob: 84249369e62df5aca07eaeb4bdbf81ad4b7d41b5 (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
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$

PORTNAME=   elementary
PORTVERSION=    1.7.6
CATEGORIES= x11-toolkits enlightenment
MASTER_SITES=   http://download.enlightenment.fr/releases/ \
        LOCAL/gblach/e17/

MAINTAINER= gblach@FreeBSD.org
COMMENT=    Simple widget toolkit using EFL

LICENSE=    LGPL21

DIST_SUBDIR=    e17
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USES=       pathfix
USE_EFL=    ecore eio edbus efreet embryo edje emotion ethumb \
        libtool_hack librt_hack modarch_hack
USE_LUA=    5.1+
USE_LDCONFIG=   yes
INSTALLS_ICONS= yes

CONFIGURE_ARGS= --disable-quick-launch

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=      gettext
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.if ${PORT_OPTIONS:MEXAMPLES}
CONFIGURE_ARGS+=--enable-install-examples
.else
CONFIGURE_ARGS+=--disable-install-examples
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|= \$$(pkgdatadir)/examples|= $$(datadir)/examples/$$(PACKAGE)|' \
        ${WRKSRC}/src/examples/Makefile.in
    @${LN} -s profile.src ${WRKSRC}/config/profile.cfg
    @${LN} -s base.src ${WRKSRC}/config/default/base.cfg
    @${LN} -s base.src ${WRKSRC}/config/mobile/base.cfg
    @${LN} -s base.src ${WRKSRC}/config/standard/base.cfg

post-install:
.if empty(PORT_OPTIONS:MEXAMPLES)
    @${RMDIR} ${EXAMPLESDIR}
.endif

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

.include <bsd.port.mk>