Ticket #56174: vcsn.macports

File vcsn.macports, 1.9 KB (added by akimd (Akim Demaille), 6 years ago)
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
3PortSystem          1.0
4PortGroup           cxx11 1.0
5PortGroup           active_variants 1.1
6
7name                vcsn
8version             2.7
9categories          devel
10platforms           darwin
11maintainers         lrde.epita.fr:akim openmaintainer
12license             GPL-3+
13
14description         C++ generic automata/transducers and rational expression platform
15
16long_description    Vcsn is a platform for weighted automata and rational expressions. \
17                    It consists of an efficient C++ generic library, shell tools, Python \
18                    bindings, and a graphical interactive environment on top of IPython.
19
20homepage            http://vcsn.lrde.epita.fr
21master_sites        http://www.lrde.epita.fr/dload/vcsn/${version}/
22
23use_xz              yes
24
25checksums           rmd160  597f0ab44ad09bca405db33e2d48d3ac31d2ac9b \
26                    sha256  95623ced01a312f60bb754ced6e9d143884e8f3063774ce6dba114147fd59618 \
27                    size    14835124
28
29# python3.x is required - force dependencies to use it as well
30set python_version  36
31set python_branch   [string range ${python_version} 0 end-1].[string index ${python_version} end]
32
33depends_build-append    port:doxygen \
34                        port:flex \
35                        port:libtool
36
37depends_lib-append  port:boost \
38                    path:bin/ccache:ccache \
39                    port:gmp \
40                    port:python${python_version} \
41                    port:yaml-cpp
42
43depends_run         path:bin/dot:graphviz \
44                    port:py${python_version}-ipython
45
46require_active_variants boost python${python_version}
47
48configure.args      --disable-silent-rules
49configure.optflags  -O3 -DNDEBUG
50configure.python    ${prefix}/bin/python${python_branch}
51
52test.run            yes
53test.target         check