2013-11-29 00:40:36 +00:00
|
|
|
# Created by: William Grzybowski <wg@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= librtmp
|
2015-11-14 21:12:08 +00:00
|
|
|
PORTVERSION= 0.3.0
|
2013-11-29 00:40:36 +00:00
|
|
|
CATEGORIES= multimedia python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2013-11-29 20:20:45 +00:00
|
|
|
DISTNAME= python-${PORTNAME}-${PORTVERSION}
|
2013-11-29 00:40:36 +00:00
|
|
|
|
|
|
|
MAINTAINER= wg@FreeBSD.org
|
|
|
|
COMMENT= Python bindings for librtmp, built with cffi
|
|
|
|
|
2014-09-25 19:53:17 +00:00
|
|
|
LICENSE= BSD2CLAUSE
|
2013-11-29 00:40:36 +00:00
|
|
|
|
2016-04-01 14:16:16 +00:00
|
|
|
LIB_DEPENDS= librtmp.so:multimedia/librtmp
|
2017-11-30 15:50:30 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${FLAVOR}
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${FLAVOR}
|
2013-11-29 00:40:36 +00:00
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
2014-09-25 19:53:17 +00:00
|
|
|
USES= python
|
|
|
|
USE_PYTHON= autoplist distutils
|
2013-11-29 00:40:36 +00:00
|
|
|
|
2015-11-14 21:12:08 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PYTHON_REL} < 3400
|
2017-11-30 15:50:30 +00:00
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:devel/py-singledispatch@${FLAVOR}
|
2015-11-14 21:12:08 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|