aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-06-17 18:17:45 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-06-17 18:17:45 +0000
commitcb333cf1eccb98899b1700ca42a800ab92697fa4 (patch)
tree7f623e7c3f52defb4424cb7124504b8d4e77d35c /biology
parente2a5e08ce3f52f8bff9eb487e88342c0ec9fff81 (diff)
downloadports-cb333cf1eccb98899b1700ca42a800ab92697fa4.tar.gz
ports-cb333cf1eccb98899b1700ca42a800ab92697fa4.zip
Move devel/swig30 to devel/swig and update to 4.0.1
- Do not silence installation message - Update dependent ports: - Fix build with swig 4.0.1 - Update *_DEPENDS - Remove BINARY_ALIAS Changes: http://www.swig.org/news.php PR: 246613 Exp-run by: antoine
Notes
Notes: svn path=/head/; revision=539491
Diffstat (limited to 'biology')
-rw-r--r--biology/libsbml/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/biology/libsbml/Makefile b/biology/libsbml/Makefile
index c94017246fa3..dddeddd54ae1 100644
--- a/biology/libsbml/Makefile
+++ b/biology/libsbml/Makefile
@@ -25,17 +25,15 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= EXAMPLES PYTHON RUBY
OPTIONS_SUB= yes
-PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30
+PYTHON_BUILD_DEPENDS= swig:devel/swig
PYTHON_USES= python:2.7
PYTHON_CMAKE_BOOL= WITH_PYTHON
PYTHON_CMAKE_ON= -DPYTHON_EXECUTABLE="${PYTHON_CMD}" \
-DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" \
-DPYTHON_LIBRARY="${PYTHONBASE}/lib/lib${PYTHON_VERSION}.so"
-PYTHON_BINARY_ALIAS= swig=swig3.0
-RUBY_BUILD_DEPENDS= swig3.0:devel/swig30
+RUBY_BUILD_DEPENDS= swig:devel/swig
RUBY_USE= ruby=yes
RUBY_CMAKE_BOOL= WITH_RUBY
-RUBY_BINARY_ALIAS= swig=swig3.0
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; /$${DOCUMENTATION_FILES}/ s|^|#|' ${WRKSRC}/CMakeLists.txt