aboutsummaryrefslogtreecommitdiffstats
path: root/devel/eet/Makefile
blob: 48be3ac8faf9e3b05bca087ad9228f4c9e2481f5 (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
# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
# $FreeBSD$

PORTNAME=   eet
PORTVERSION=    1.7.8
PORTEPOCH=  2
CATEGORIES= devel enlightenment
MASTER_SITES=   http://download.enlightenment.fr/releases/ \
        LOCAL/gblach/e17/

MAINTAINER= gblach@FreeBSD.org
COMMENT=    Enlightenment Data Handling Library

LICENSE=    BSD

LIB_DEPENDS=    jpeg:${PORTSDIR}/graphics/jpeg

DIST_SUBDIR=    e17
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USES=       pathfix pkgconfig
USE_EFL=    eina librt_hack libtool_hack
USE_OPENSSL=    yes
USE_LDCONFIG=   yes

CONFIGURE_ENV=  OPENSSL_CFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" OPENSSL_LIBS="-lssl"
CONFIGURE_ARGS= --disable-gnutls

NO_STAGE=   yes
.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

post-install:
    @${REINPLACE_CMD} -i '' -e 's/ openssl//' ${PREFIX}/libdata/pkgconfig/eet.pc

.include <bsd.port.mk>