2008-03-11 21:13:53 +00:00
|
|
|
# New ports collection makefile for: ecore-con
|
|
|
|
# Date created: 17 September 2007
|
|
|
|
# Whom: Stanislav Sedov <stas@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= con
|
2012-06-26 17:36:30 +00:00
|
|
|
DISTVERSION= 1.1.0
|
2010-12-14 07:30:56 +00:00
|
|
|
CATEGORIES= net enlightenment
|
|
|
|
MASTER_SITES= http://download.enlightenment.org/releases/ \
|
2012-06-26 17:36:30 +00:00
|
|
|
http://files.roorback.net/e17/2011-12-02/base/
|
2008-03-11 21:13:53 +00:00
|
|
|
PKGNAMEPREFIX= ecore-
|
2010-12-14 07:30:56 +00:00
|
|
|
DISTNAME= ecore-${DISTVERSION}
|
2008-03-11 21:13:53 +00:00
|
|
|
|
2012-04-10 18:04:10 +00:00
|
|
|
MAINTAINER= magik@roorback.net
|
2008-03-11 21:13:53 +00:00
|
|
|
COMMENT= Enlightenment core abstraction library (con module)
|
|
|
|
|
2010-12-14 07:30:56 +00:00
|
|
|
LICENSE= BSD
|
2012-06-26 17:36:30 +00:00
|
|
|
|
2010-12-14 07:30:56 +00:00
|
|
|
DIST_SUBDIR= e17
|
2008-03-11 21:13:53 +00:00
|
|
|
USE_BZIP2= yes
|
2010-12-14 07:30:56 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_EFL= ecore libtool_hack
|
2011-08-11 19:20:17 +00:00
|
|
|
USE_GNOME= gnomehack pkgconfig
|
2008-03-11 21:13:53 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_con
|
|
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
|
2011-07-08 18:50:54 +00:00
|
|
|
.include "../../devel/ecore-main/Makefile.inc"
|
2010-12-14 07:30:56 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-ecore-con
|
2008-03-11 21:13:53 +00:00
|
|
|
|
2010-12-14 07:30:56 +00:00
|
|
|
OPTIONS= CARES "Enable async DNS resolving via c-ares" on \
|
|
|
|
CURL "Enable Curl support" on \
|
2008-03-11 21:13:53 +00:00
|
|
|
SSL "Enable SSL support" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-12-14 07:30:56 +00:00
|
|
|
.if !defined(WITHOUT_CARES)
|
|
|
|
CONFIGURE_ARGS+= --enable-cares
|
|
|
|
LIB_DEPENDS+= cares.2:${PORTSDIR}/dns/c-ares
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-cares
|
|
|
|
.endif
|
|
|
|
|
2008-03-11 21:13:53 +00:00
|
|
|
.if !defined(WITHOUT_CURL)
|
|
|
|
CONFIGURE_ARGS+= --enable-curl
|
2010-04-03 10:44:36 +00:00
|
|
|
LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl
|
2008-03-11 21:13:53 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-curl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_SSL)
|
2011-06-25 03:36:20 +00:00
|
|
|
CONFIGURE_ENV= SSL_CFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" SSL_LIBS="-lssl"
|
2008-03-11 21:13:53 +00:00
|
|
|
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:
|
2012-06-26 17:36:30 +00:00
|
|
|
@${REINPLACE_CMD} 's/ openssl//' ${WRKSRC}/ecore-con.pc
|
2008-03-11 21:13:53 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ecore-con.pc \
|
|
|
|
${PREFIX}/libdata/pkgconfig/
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|