# Created by: William Grzybowski # $FreeBSD: head/multimedia/py-librtmp/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= librtmp PORTVERSION= 0.3.0 CATEGORIES= multimedia python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= wg@FreeBSD.org COMMENT= Python bindings for librtmp, built with cffi LICENSE= BSD2CLAUSE LIB_DEPENDS= librtmp.so:multimedia/librtmp BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USES= python USE_PYTHON= autoplist distutils .include .if ${PYTHON_REL} < 3400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:devel/py-singledispatch .endif .include