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.4 |
---|
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 b864f8735806c84ab11752f411174fdad8668248 \ |
---|
27 | sha256 3265078d39ac0bb596177a8b0a8dcd80c87f873743a024355b0e36e8aa7ec037 |
---|
28 | |
---|
29 | # python3.x is required - force dependencies to use it as well |
---|
30 | set python_version 35 |
---|
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 |
---|