1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libsbml |
---|
7 | version 5.8.0 |
---|
8 | categories science |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | license LGPL-2.1+ |
---|
12 | |
---|
13 | description The Systems Biology Markup Language library |
---|
14 | |
---|
15 | long_description LibSBML is a free, open-source programming library to \ |
---|
16 | help you read, write, manipulate, translate, and validate \ |
---|
17 | SBML files and data streams. It is not an application \ |
---|
18 | itself (though it does come with example programs), but \ |
---|
19 | rather a library you can embed in your own applications. |
---|
20 | |
---|
21 | homepage http://sbml.org/Software/libSBML |
---|
22 | master_sites sourceforge:project/sbml/libsbml/${version}/stable |
---|
23 | |
---|
24 | distname libSBML-${version}-src |
---|
25 | worksrcdir libsbml-${version} |
---|
26 | |
---|
27 | checksums rmd160 185beb54cdda53e5a74958c77964ea3015c7b533 \ |
---|
28 | sha256 69f16b5d1783f3e0c99144fa82b48d2eff654a2133729e8704fe098042df270b |
---|
29 | |
---|
30 | depends_lib port:bzip2 \ |
---|
31 | port:libxml2 \ |
---|
32 | port:zlib |
---|
33 | |
---|
34 | configure.args --with-bzip2=${prefix} \ |
---|
35 | --with-libxml=${prefix} \ |
---|
36 | --with-zlib=${prefix} |
---|
37 | |
---|
38 | configure.universal_args-delete --disable-dependency-tracking |
---|
39 | |
---|
40 | variant python26 conflicts python27 python31 python32 python33 \ |
---|
41 | description {Configure to use Python version 2.6} { |
---|
42 | depends_lib-append port:python26 |
---|
43 | configure.args-append --with-python --with-python-interpreter=${prefix}/bin/python2.6 |
---|
44 | } |
---|
45 | |
---|
46 | variant python27 conflicts python26 python31 python32 python33 \ |
---|
47 | description {Configure to use Python version 2.7} { |
---|
48 | depends_lib-append port:python27 |
---|
49 | configure.args-append --with-python --with-python-interpreter=${prefix}/bin/python2.7 |
---|
50 | } |
---|
51 | |
---|
52 | variant python31 conflicts python26 python27 python32 python33 \ |
---|
53 | description {Configure to use Python version 3.1} { |
---|
54 | depends_lib-append port:python31 |
---|
55 | configure.args-append --with-python --with-python-interpreter=${prefix}/bin/python3.1 |
---|
56 | } |
---|
57 | |
---|
58 | variant python32 conflicts python26 python27 python31 python33 \ |
---|
59 | description {Configure to use Python version 3.2} { |
---|
60 | depends_lib-append port:python32 |
---|
61 | configure.args-append --with-python --with-python-interpreter=${prefix}/bin/python3.2 |
---|
62 | } |
---|
63 | |
---|
64 | variant python33 conflicts python26 python27 python31 python32 \ |
---|
65 | description {Configure to use Python version 3.3} { |
---|
66 | depends_lib-append port:python33 |
---|
67 | configure.args-append --with-python --with-python-interpreter=${prefix}/bin/python3.3 |
---|
68 | } |
---|
69 | |
---|
70 | |
---|
71 | livecheck.regex /libSBML-(\[0-9.\]+)-src${extract.suffix} |
---|