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: Portfile 144823 2016-01-19 16:35:07Z khindenburg@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup cxx11 1.0 |
---|
6 | PortGroup active_variants 1.1 |
---|
7 | |
---|
8 | name vcsn |
---|
9 | version 2.2 |
---|
10 | categories devel |
---|
11 | platforms darwin |
---|
12 | maintainers lrde.epita.fr:akim openmaintainer |
---|
13 | license GPL-3+ |
---|
14 | |
---|
15 | description C++ generic automata/transducers and rational expression platform |
---|
16 | |
---|
17 | long_description Vcsn is a platform for weighted automata and rational expressions. \ |
---|
18 | It consists of an efficient C++ generic library, shell tools, Python \ |
---|
19 | bindings, and a graphical interactive environment on top of IPython. |
---|
20 | |
---|
21 | homepage http://vcsn.lrde.epita.fr |
---|
22 | master_sites http://www.lrde.epita.fr/dload/vcsn/${version}/ |
---|
23 | |
---|
24 | use_xz yes |
---|
25 | |
---|
26 | checksums rmd160 8ce5c97191025f7dbea022f5579e3a449dd5ce61 \ |
---|
27 | sha256 2126319b073cf0114ebfc2308fe8974804cebe9e7050392d11adfce1e9b72d4e |
---|
28 | |
---|
29 | # python3.x is required - force dependencies to use it as well |
---|
30 | set python_version 34 |
---|
31 | depends_build port:doxygen port:libtool |
---|
32 | |
---|
33 | depends_lib port:boost \ |
---|
34 | path:bin/ccache:ccache \ |
---|
35 | port:gmp \ |
---|
36 | port:python${python_version} |
---|
37 | |
---|
38 | depends_run path:bin/dot:graphviz \ |
---|
39 | port:py${python_version}-ipython |
---|
40 | |
---|
41 | require_active_variants boost python${python_version} |
---|
42 | |
---|
43 | configure.optflags -O3 -DNDEBUG |
---|
44 | |
---|
45 | test.run yes |
---|
46 | test.target check |
---|