# New ports collection makefile for:	edje
# Date created:				08/08/2004
# Whom:					vanilla
#
# $FreeBSD: ports/graphics/edje/Makefile,v 1.39 2011/10/24 03:33:03 stas Exp $
#

PORTNAME=	edje
DISTVERSION=	1.0.1
PORTEPOCH=	2
CATEGORIES=	graphics enlightenment
MASTER_SITES=	http://download.enlightenment.org/releases/ \
		http://files.roorback.net/e17/2011-05-25/base/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Edje is a complex graphical design and layout engine

LIB_DEPENDS=	lua-5.1:${PORTSDIR}/lang/lua
RUN_DEPENDS=	update-mime-database:${PORTSDIR}/misc/shared-mime-info

LICENSE=	BSD
DIST_SUBDIR=	e17
USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_EFL=	eet evas ecore embryo libtool_hack librt_hack
USE_EFL_EVAS_LOADERS=	eet jpeg png
USE_EFL_ECORE=	evas file imf imf_evas
USE_GNOME=	gnomehack pkgconfig
USE_LDCONFIG=	yes

CONFIGURE_ARGS+=	--without-vim

post-patch:
	@${REINPLACE_CMD} -E -e "/^SUBDIRS[[:space:]]+=/s/utils//" \
	    ${WRKSRC}/Makefile.in

post-install:
	-update-mime-database ${PREFIX}/share/mime

.include <bsd.port.mk>
