freebsd-ports/multimedia/py-librtmp/Makefile
2015-11-14 21:12:08 +00:00

32 lines
829 B
Makefile

# Created by: William Grzybowski <wg@FreeBSD.org>
# $FreeBSD$
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:${PORTSDIR}/multimedia/librtmp
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:${PORTSDIR}/devel/py-cffi
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:${PORTSDIR}/devel/py-cffi
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:${PORTSDIR}/devel/py-singledispatch
.endif
.include <bsd.port.post.mk>