blob: e513a0976f6dc86a7ec25fa04f6c83d0b1b48a11 (
plain)
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
|
# Created by: Stanislav Sedov <stas@FreeBSD.org>
# $FreeBSD$
PORTNAME= main
PORTVERSION= 1.7.9
CATEGORIES= devel enlightenment
MASTER_SITES= http://download.enlightenment.org/releases/ \
LOCAL/gblach/e17/
PKGNAMEPREFIX= ecore-
DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}
MAINTAINER= gblach@FreeBSD.org
COMMENT= Enlightenment core abstraction library (main library)
LICENSE= BSD
DIST_SUBDIR= e17
USE_BZIP2= yes
GNU_CONFIGURE= yes
USES= pathfix pkgconfig iconv
USE_EFL= eina libtool_hack
USE_LDCONFIG= yes
EXAMPLESDIR= ${PREFIX}/share/examples/ecore
.include "Makefile.inc"
OPTIONS_DEFINE= NLS EXAMPLES
.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|= \$$(datadir)/\$$(PACKAGE)/examples|= $$(datadir)/examples/$$(PACKAGE)|' \
${WRKSRC}/src/examples/Makefile.in
.include <bsd.port.mk>
|