freebsd-ports/net-p2p/libtorrent-rasterbar-python/Makefile
Mathieu Arnold f6e7f26602 devel/boost-python-libs got forgotten in the python flavorization, fix
this oversight.

Reviewed by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14368
2018-02-15 12:34:49 +00:00

31 lines
757 B
Makefile

# Created by: Doug Barton <dougb@FreeBSD.org>
# $FreeBSD$
CATEGORIES= net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python bindings for libtorrent-rasterbar
LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \
${PY_BOOST}
MASTERDIR= ${.CURDIR}/../libtorrent-rasterbar
BUILD_WRKSRC= ${WRKSRC}/bindings/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
SLAVE_PORT= yes
USES= python:2.7
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= python_libtorrent
PLIST= ${NONEXISTENT}
PLIST_FILES= %%PYTHON_SITELIBDIR%%/libtorrent.so
OPTIONS_EXCLUDE= DOCS EXAMPLES
# ensure python paths are correctly identified
CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \
PYTHON_VERSION="${PYTHON_VERSION}"
.include "${MASTERDIR}/Makefile"