# New ports collection makefile for:	ecore
# Date created:		22 September 2007
# Whom:			Stanislav Sedov <stas@FreeBSD.org>
#
# $FreeBSD: ports/devel/ecore/Makefile,v 1.3 2010/02/05 11:35:43 dinoex Exp $
#

PORTNAME=	ecore
PORTVERSION=	0.9.9.042
PORTREVISION=	2
PORTEPOCH=	2
CATEGORIES=	devel
MASTER_SITES=	# none
DISTFILES=	# none
EXTRACT_ONLY=	# none

MAINTAINER=	stas@FreeBSD.org
COMMENT=	Enlightenment core abstraction library (meta port)

NO_BUILD=	yes
USE_EFL=	ecore

ECORE_MODULES=	con config desktop evas file ipc job sdl txt x11 imf imf_evas
ECORE_sdl_off=	yes

.for NODE in ${ECORE_MODULES}
OPTIONS+=	${NODE:U} "Install ${NODE} ecore module"
. if !defined(ECORE_${NODE}_off)
OPTIONS+=	on
. else
OPTIONS+=	off
. endif
.endfor

.include <bsd.port.pre.mk>

.for NODE in ${ECORE_MODULES}
. if !defined(ECORE_${NODE}_off)
.  if !defined(WITHOUT_${NODE:U})
USE_EFL_ECORE+=	${NODE}
.  endif
. else
.  if defined(WITH_${NODE:U})
USE_EFL_ECORE+=	${NODE}
.  endif
. endif
.endfor

do-install:
	${DO_NADA}

.include <bsd.port.post.mk>
