mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
047b835b8d
- Change master sites, use SF instead of GOOGLE_CODE - Change license BSD to BSD3CLAUSE - Disable all warnings with -w - Set PORTSCOUT, with 0.16.14 segmentation fault with qBittorrent Versions 3.1.5, 3.1.6, 3.1.8 - Add SHLIB_VER and PLIST_SUB - Add STRIP Option, and add to default Options - Strip libraries for Master and Slave Port net-p2p/libtorrent-rasterbar-python - Add STRIP to OPTIONS_EXCLUDE
32 lines
815 B
Makefile
32 lines
815 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:${PORTSDIR}/net-p2p/libtorrent-rasterbar \
|
|
libboost_python.so:${PORTSDIR}/devel/boost-python-libs
|
|
|
|
MASTERDIR= ${.CURDIR}/../libtorrent-rasterbar
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/bindings/python
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
SLAVE_PORT= yes
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= python_libtorrent
|
|
|
|
PLIST= ${NONEXISTENT}
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/libtorrent.so
|
|
|
|
OPTIONS_EXCLUDE= DOCS EXAMPLES STRIP
|
|
|
|
# insure python paths are correctly identified
|
|
CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \
|
|
PYTHON_VERSION="${PYTHON_VERSION}"
|
|
|
|
.include "${MASTERDIR}/Makefile"
|