Add boost-python3-libs, python3 bindings with boost.
Reviewed by: sunpoet@ Approved by: office@ (sunpoet@) Differential Revision: https://reviews.freebsd.org/D11021
This commit is contained in:
parent
9c416ecb95
commit
559010f05d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442853
5 changed files with 23 additions and 8 deletions
|
@ -196,6 +196,7 @@
|
|||
SUBDIR += boost-jam
|
||||
SUBDIR += boost-libs
|
||||
SUBDIR += boost-python-libs
|
||||
SUBDIR += boost-python3-libs
|
||||
SUBDIR += boost_build
|
||||
SUBDIR += bossa
|
||||
SUBDIR += bouml-doc
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Created by: Alexander Churanov <churanov.port.maintainer@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= boost-python-libs
|
||||
COMMENT= Framework for interfacing Python and C++
|
||||
PORTNAME?= boost-python-libs
|
||||
COMMENT?= Framework for interfacing Python 2 and C++
|
||||
|
||||
USES+= python
|
||||
USES?= python:2.7
|
||||
|
||||
OPTIONS_DEFINE= DEBUG OPTIMIZED_CFLAGS
|
||||
|
||||
|
@ -43,6 +43,6 @@ post-install:
|
|||
-e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" \
|
||||
-e "s|%%PYTHON_LIBDIR%%|${PYTHON_LIBDIR}|g" \
|
||||
-e "s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g" ${PKGMESSAGE}
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libboost_python.so.${PORTVERSION}
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libboost_python*.so.${PORTVERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -3,6 +3,7 @@ C++. It allows you to quickly and seamlessly expose C++ classes
|
|||
functions and objects to Python, and vice-versa, using no special
|
||||
tools -- just your C++ compiler.
|
||||
|
||||
The Boost.Pyste code generator resides in a separate port: devel/boost-pyste
|
||||
The python 2 port is called boost-python-libs
|
||||
The python 3 port is called boost-python3-libs
|
||||
|
||||
WWW: http://www.boost.org/
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
lib/libboost_python.a
|
||||
lib/libboost_python.so
|
||||
lib/libboost_python.so.%%BOOST_SHARED_LIB_VER%%
|
||||
%%PYTHON2%%lib/libboost_python.a
|
||||
%%PYTHON2%%lib/libboost_python.so
|
||||
%%PYTHON2%%lib/libboost_python.so.%%BOOST_SHARED_LIB_VER%%
|
||||
%%PYTHON3%%lib/libboost_python3.a
|
||||
%%PYTHON3%%lib/libboost_python3.so
|
||||
%%PYTHON3%%lib/libboost_python3.so.%%BOOST_SHARED_LIB_VER%%
|
||||
|
|
10
devel/boost-python3-libs/Makefile
Normal file
10
devel/boost-python3-libs/Makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= boost-python3-libs
|
||||
COMMENT= Framework for interfacing Python 3 and C++
|
||||
|
||||
USES= python:3.3
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../devel/boost-python-libs
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
Loading…
Reference in a new issue