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