mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
a8713d15f4
- Enable `long double` C99 math usage - Switch 9.x back to building with GCC Changes: http://www.boost.org/users/history/ PR: 199601 Submitted by: Chen Xu, bapt, amdmi3, truckman (based on) Reviewed by: rakuco (kde) (earlier version) Exp-run by: antoine (3 tries), truckman (consumers only, earlier versions) Approved by: bapt (office)
33 lines
800 B
Makefile
33 lines
800 B
Makefile
# Created by: Doug Barton <dougb@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-p2p python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
COMMENT= Python bindings for libtorrent-rasterbar
|
|
|
|
LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \
|
|
libboost_python.so:devel/boost-python-libs
|
|
|
|
MASTERDIR= ${.CURDIR}/../libtorrent-rasterbar
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/bindings/python
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
SLAVE_PORT= yes
|
|
USES= python
|
|
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"
|