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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup Z3Prover z3 4.4.1 z3- |
---|
8 | categories math devel |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | license MIT |
---|
12 | |
---|
13 | description A high-performance theorem prover being developed at Microsoft Research. \ |
---|
14 | |
---|
15 | long_description Z3 is a state-of-the art theorem prover from Microsoft Research. It can be \ |
---|
16 | used to check the satisfiability of logical formulas over one or more theories. \ |
---|
17 | Z3 offers a compelling match for software analysis and verification tools, \ |
---|
18 | since several common software constructs map directly into supported theories. |
---|
19 | |
---|
20 | checksums rmd160 679774156c28c2eee366f72f379552d7c039a8fd \ |
---|
21 | sha256 d0a5833a2ebbff5dc82fb8ff0065f9c39ba884862c690479fade606a62d0808c |
---|
22 | |
---|
23 | use_parallel_build no |
---|
24 | |
---|
25 | depends_build-append port:python27 |
---|
26 | depends_lib-append port:python27 |
---|
27 | |
---|
28 | patchfiles mk_util.py.diff |
---|
29 | |
---|
30 | set python_prefix [exec ${prefix}/bin/python2.7-config --prefix] |
---|
31 | |
---|
32 | post-patch { |
---|
33 | reinplace "s|@PYTHON_PACKAGE_DIR@|${destroot}${python_prefix}/lib/python2.7/site-packages|" \ |
---|
34 | ${worksrcpath}/scripts/mk_util.py |
---|
35 | } |
---|
36 | |
---|
37 | # here is the recommended installation sequence: |
---|
38 | # CXX=clang++ CC=clang python scripts/mk_make.py --prefix=${worksrcpath} |
---|
39 | # cd build |
---|
40 | # make |
---|
41 | |
---|
42 | configure.cmd ${prefix}/bin/python2.7 |
---|
43 | configure.pre_args {} |
---|
44 | # --prefix=${destroot}${python_prefix}/Python |
---|
45 | configure.args scripts/mk_make.py \ |
---|
46 | --prefix=${destroot}${prefix} |
---|
47 | |
---|
48 | build.args-append CC=${configure.cc} \ |
---|
49 | CXX=${configure.cxx} \ |
---|
50 | CPP=${configure.cpp} |
---|
51 | # build.pre_args ${makearg} all |
---|
52 | build { |
---|
53 | build.dir ${worksrcpath}/build |
---|
54 | command_exec build |
---|
55 | } |
---|
56 | |
---|
57 | post-destroot { |
---|
58 | set docdir ${prefix}/share/doc/${name} |
---|
59 | xinstall -d ${destroot}${docdir} |
---|
60 | xinstall -m 0644 -W ${worksrcpath} \ |
---|
61 | LICENSE.txt \ |
---|
62 | README \ |
---|
63 | RELEASE_NOTES \ |
---|
64 | ${destroot}${docdir} |
---|
65 | |
---|
66 | copy ${worksrcpath}/examples ${destroot}${docdir} |
---|
67 | } |
---|