opnsense-ports/devel/py-efl/Makefile

34 lines
884 B
Makefile

# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= efl
PORTVERSION= 1.19.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
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>