aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2013-06-19 16:49:25 +0000
committerStefan Walter <stefan@FreeBSD.org>2013-06-19 16:49:25 +0000
commit21996f077dfaf2a55dd9e9c9b7b9de1ad8dc0249 (patch)
treeb95bd7c714a92b48cfb757369ce868bee6ef5a0f /devel
parent69dab82d1873b720a6bb6f3c151064c48c47754e (diff)
downloadports-21996f077dfaf2a55dd9e9c9b7b9de1ad8dc0249.tar.gz
ports-21996f077dfaf2a55dd9e9c9b7b9de1ad8dc0249.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/libftdi/Makefile4
-rw-r--r--devel/libftdi/pkg-plist4
2 files changed, 7 insertions, 1 deletions
diff --git a/devel/libftdi/Makefile b/devel/libftdi/Makefile
index 688bdcc7501d..a934b92f37e2 100644
--- a/devel/libftdi/Makefile
+++ b/devel/libftdi/Makefile
@@ -33,8 +33,10 @@ PLIST_SUB+= BOOST="@comment "
CONFIGURE_ARGS+= --without-boost
.endif
.if ${PORT_OPTIONS:MPYTHON}
-PLIST_SUB+= PYTHON=""
+PLIST_SUB+= PYTHON="" PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
CONFIGURE_ARGS+= --enable-python-binding
+CONFIGURE_ENV+= SWIG="${LOCALBASE}/bin/swig2.0"
+BUILD_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20
USE_PYTHON= yes
.else
PLIST_SUB+= PYTHON="@comment "
diff --git a/devel/libftdi/pkg-plist b/devel/libftdi/pkg-plist
index b45ad800b602..ca3cff66a798 100644
--- a/devel/libftdi/pkg-plist
+++ b/devel/libftdi/pkg-plist
@@ -10,6 +10,10 @@ bin/serial_test
bin/simple
include/ftdi.h
%%BOOST%%include/ftdi.hpp
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/_ftdi.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%
lib/libftdi.a
lib/libftdi.la
lib/libftdi.so