summaryrefslogtreecommitdiff
path: root/devel/py-efl/Makefile
blob: 8dc9ec79e04f8514ef38acdc5b8cde494b23f9c2 (plain)
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
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$

PORTNAME=	efl
PORTVERSION=	1.15.0
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 \
		libelementary.so:x11-toolkits/elementary

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>