blob: 8c23e0e70fe1f8f6095c004d2a47cc5d0cbe42a5 (
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
62
63
64
65
66
67
68
69
|
# Created by: Stanislav Sedov <stas@FreeBSD.org>
# $FreeBSD$
PORTNAME= core
PORTVERSION= 1.7.9
PORTREVISION= 1
CATEGORIES= graphics enlightenment
MASTER_SITES= http://download.enlightenment.org/releases/ \
LOCAL/gblach/e17/
PKGNAMEPREFIX= evas-
DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}
MAINTAINER= gblach@FreeBSD.org
COMMENT= A hardware accelerated canvas API (core library)
LICENSE= BSD
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
DIST_SUBDIR= e17
USE_BZIP2= yes
GNU_CONFIGURE= yes
USES= pathfix pkgconfig
USE_GCC= any
USE_EFL= librt_hack libtool_hack
USE_LDCONFIG= yes
DATADIR= ${PREFIX}/share/evas
EXAMPLESDIR= ${PREFIX}/share/examples/evas
.include "Makefile.inc"
OPTIONS_DEFINE= EET FONTCONFIG FRIBIDI
OPTIONS_DEFAULT=EET FONTCONFIG FRIBIDI
EET_DESC= EET font loader
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFONTCONFIG}
LIB_DEPENDS+= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
CONFIGURE_ARGS+=--enable-fontconfig
.else
CONFIGURE_ARGS+=--disable-fontconfig
.endif
.if ${PORT_OPTIONS:MFRIBIDI}
LIB_DEPENDS+= libfribidi.so:${PORTSDIR}/converters/fribidi
CONFIGURE_ARGS+=--enable-fribidi
.else
CONFIGURE_ARGS+=--disable-fribidi
.endif
.if ${PORT_OPTIONS:MEET}
USE_EFL+= eet
CONFIGURE_ARGS+=--enable-font-loader-eet
.else
CONFIGURE_ARGS+=--disable-font-loader-eet
.endif
.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>
|