blob: 76942e1df4a95486773f05e4b24db14562125e54 (
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
|
# Created by: Stanislav Sedov <stas@FreeBSD.org>
# $FreeBSD$
PORTNAME= con
DISTVERSION= 1.1.0
CATEGORIES= net enlightenment
MASTER_SITES= http://download.enlightenment.org/releases/ \
http://files.roorback.net/e17/2011-12-02/base/
PKGNAMEPREFIX= ecore-
DISTNAME= ecore-${DISTVERSION}
MAINTAINER= gblach@FreeBSD.org
COMMENT= Enlightenment core abstraction library (con module)
LICENSE= BSD
DIST_SUBDIR= e17
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_EFL= ecore libtool_hack
USE_GNOME= gnomehack pkgconfig
USE_LDCONFIG= yes
BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_con
INSTALL_WRKSRC= ${BUILD_WRKSRC}
.include "../../devel/ecore-main/Makefile.inc"
CONFIGURE_ARGS+= --enable-ecore-con
OPTIONS= CARES "Enable async DNS resolving via c-ares" on \
CURL "Enable Curl support" on \
SSL "Enable SSL support" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_CARES)
CONFIGURE_ARGS+= --enable-cares
LIB_DEPENDS+= cares.2:${PORTSDIR}/dns/c-ares
.else
CONFIGURE_ARGS+= --disable-cares
.endif
.if !defined(WITHOUT_CURL)
CONFIGURE_ARGS+= --enable-curl
LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl
.else
CONFIGURE_ARGS+= --disable-curl
.endif
.if !defined(WITHOUT_SSL)
CONFIGURE_ENV= SSL_CFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" SSL_LIBS="-lssl"
CONFIGURE_ARGS+= --enable-openssl
.else
CONFIGURE_ARGS+= --disable-openssl
.endif
post-patch:
@${REINPLACE_CMD} -E -e \
's,\$$\(top_builddir\)/src/lib/ecore/\.libs,${LOCALBASE}/lib,'\
-e 's,\$$\(top_builddir\)/src/lib/ecore/libecore\.la,-lecore,'\
${BUILD_WRKSRC}/Makefile.in
post-install:
@${REINPLACE_CMD} 's/ openssl//' ${WRKSRC}/ecore-con.pc
${INSTALL_DATA} ${WRKSRC}/ecore-con.pc \
${PREFIX}/libdata/pkgconfig/
.include <bsd.port.post.mk>
|