aboutsummaryrefslogtreecommitdiffstats
path: root/devel/eina/Makefile
blob: f0cae4d1d5dfd42b408e5ffde4c0840ca830b664 (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
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$

PORTNAME=   eina
PORTVERSION=    1.7.9
CATEGORIES= devel enlightenment
MASTER_SITES=   http://download.enlightenment.org/releases/ \
        LOCAL/gblach/e17/

MAINTAINER= gblach@FreeBSD.org
COMMENT=    Enlightenment API for data types

LICENSE=    LGPL21

DIST_SUBDIR=    e17
GNU_CONFIGURE=  yes
USES=       pathfix iconv tar:bzip2
USE_EFL=    librt_hack libtool_hack
USE_LDCONFIG=   yes

CONFIGURE_ARGS= --enable-amalgamation

OPTIONS_DEFINE= EXAMPLES

.include <bsd.port.options.mk>

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

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

.include <bsd.port.mk>