Files

57 lines
2.3 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
github.setup libsbmlsim libsbmlsim 1.4.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 1
categories science
maintainers {@funasoul gmail.com:funasoul} openmaintainer
license LGPL-2.1+
description A library for simulating SBML models
long_description LibSBMLSim is a library for simulating an SBML model which contains \
Ordinary Differential Equations (ODEs). LibSBMLSim provides simple \
command-line tool and several APIs to load an SBML model, perform \
numerical integration (simulate) and export its results. \
Both explicit and implicit methods are supported on libSBMLSim.
homepage https://fun.bio.keio.ac.jp/software/libsbmlsim/
checksums rmd160 8986883d5e604abe8b4bfa380e0e65f5f4c7c584 \
sha256 04ddf304d2a731a17b32fc4a2ca4ac07500f59ae36fa4440f169dd30daa74115 \
size 35000546
depends_lib-append port:libsbml
variant csharp description {Generate C# language bindings.} {
depends_build-append port:swig port:swig-csharp
configure.args-append -DWITH_CSHARP:BOOL=ON
}
variant java description {Generate Java language bindings.} {
depends_build-append port:swig port:swig-java
configure.args-append -DWITH_JAVA:BOOL=ON
}
variant python313 conflicts python314 description {Generate Python version 3.13 language bindings.} {
depends_build-append port:swig port:swig-python
depends_lib-append port:python313
configure.args-append -DWITH_PYTHON:BOOL=ON -DPYTHON_EXECUTABLE=${prefix}/bin/python3.13
}
variant python314 conflicts python313 description {Generate Python version 3.14 language bindings.} {
depends_build-append port:swig port:swig-python
depends_lib-append port:python314
configure.args-append -DWITH_PYTHON:BOOL=ON -DPYTHON_EXECUTABLE=${prefix}/bin/python3.14
}
variant ruby description {Generate Ruby language bindings.} {
depends_build-append port:swig port:swig-ruby
configure.args-append -DWITH_RUBY:BOOL=ON
}