Ticket #26238: Portfile.3

File Portfile.3, 2.7 KB (added by hmatuschek@…, 11 years ago)

Added python variants for version 2.6-3.3

Line 
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
4PortSystem          1.0
5
6name                libsbml
7version             5.8.0
8categories          science
9platforms           darwin
10maintainers         nomaintainer
11license             LGPL-2.1+
12
13description         The Systems Biology Markup Language library
14
15long_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
21homepage            http://sbml.org/Software/libSBML
22master_sites        sourceforge:project/sbml/libsbml/${version}/stable
23
24distname            libSBML-${version}-src
25worksrcdir          libsbml-${version}
26
27checksums           rmd160  185beb54cdda53e5a74958c77964ea3015c7b533 \
28                    sha256  69f16b5d1783f3e0c99144fa82b48d2eff654a2133729e8704fe098042df270b
29
30depends_lib         port:bzip2 \
31                    port:libxml2 \
32                    port:zlib
33
34configure.args      --with-bzip2=${prefix} \
35                    --with-libxml=${prefix} \
36                    --with-zlib=${prefix}
37
38configure.universal_args-delete --disable-dependency-tracking
39
40variant 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
46variant 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
52variant 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
58variant 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
64variant 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
71livecheck.regex     /libSBML-(\[0-9.\]+)-src${extract.suffix}