# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_4_0/devel/py-efl/Makefile 439367 2017-04-25 08:20:30Z riggs $

PORTNAME=	efl
PORTVERSION=	1.18.0
PORTREVISION=	1
CATEGORIES=	devel python enlightenment
MASTER_SITES=	http://download.enlightenment.org/rel/bindings/python/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	python-efl-${PORTVERSION}

MAINTAINER=	enlightenment@FreeBSD.org
COMMENT=	Python bindings for EFL and Elementary

LICENSE=	GPLv3 LGPL3
LICENSE_COMB=	multi

LIB_DEPENDS=	libefl.so:devel/efl

DIST_SUBDIR=	enlightenment
USES=		pkgconfig python tar:xz
USE_PYTHON=	autoplist distutils

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 3000
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dbus>=0.83:devel/py-dbus
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dbus>=0.83:devel/py-dbus
.else
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dbus>=0.83:devel/py3-dbus
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dbus>=0.83:devel/py3-dbus
.endif

.include <bsd.port.post.mk>
