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

PORTNAME=   elementary
PORTVERSION=    1.13.2
CATEGORIES= x11-toolkits enlightenment
MASTER_SITES=   http://download.enlightenment.org/rel/libs/${PORTNAME}/

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

LICENSE=    LGPL21

LIB_DEPENDS=    libefl.so:${PORTSDIR}/devel/efl

DIST_SUBDIR=    enlightenment
GNU_CONFIGURE=  yes
USES=       compiler:c11 gmake libtool lua pathfix pkgconfig tar:xz
USE_LDCONFIG=   yes
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip

PLIST_SUB=  BRANCHVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION}

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=          gettext
LDFLAGS+=       -L${LOCALBASE}/lib
PLIST_SUB+=     NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+=     NLS="@comment "
.endif

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

post-patch:
    @${REINPLACE_CMD} -e \
        's|= \$$(pkgdatadir)/examples|= $$(datadir)/examples/$$(PACKAGE)|' \
        ${WRKSRC}/src/examples/Makefile.in

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

.include <bsd.port.mk>