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 | |
---|
6 | name civl |
---|
7 | version 1.7 |
---|
8 | set rev 3157 |
---|
9 | categories devel |
---|
10 | platforms darwin |
---|
11 | maintainers udel.edu:aturqi openmaintainer |
---|
12 | description The Concurrency Intermediate Verification Language |
---|
13 | long_description The CIVL platform encompasses: \ |
---|
14 | (1) the programming language CIVL-C, a dialect of C with additional primitives \ |
---|
15 | supporting concurrency, specification, and modeling \ |
---|
16 | (2) verification and analysis tools, including a symbolic execution-based model \ |
---|
17 | checker for checking various properties of, or finding defects in, CIVL-C programs \ |
---|
18 | (3) tools that translate from many commonly used languages/APIs \ |
---|
19 | to CIVL-C, including MPI, OpenMP, CUDA, and Pthreads. |
---|
20 | license GPL-3+ |
---|
21 | homepage http://vsl.cis.udel.edu/civl |
---|
22 | distname CIVL-${version}_${rev} |
---|
23 | extract.suffix .tgz |
---|
24 | master_sites http://vsl.cis.udel.edu/lib/sw/${name}/${version}/r${rev}/release |
---|
25 | checksums rmd160 58e69db8ae9542905789cd5a62f50dfdafd34f09 \ |
---|
26 | sha256 49ed0467ea281bf5a436b2caf4f87862d3f613fa9e6e746ce52cfd409c3f4403 |
---|
27 | depends_lib port:cvc4 \ |
---|
28 | port:z3 |
---|
29 | use_configure no |
---|
30 | |
---|
31 | set docdir ${prefix}/share/doc/${name} |
---|
32 | set javadir ${prefix}/share/java/${name} |
---|
33 | set examplesdir ${prefix}/share/examples/${name} |
---|
34 | |
---|
35 | post-patch { |
---|
36 | reinplace "s|/opt/CIVL-${version}_${rev}/lib|${prefix}/share/java/civl|g" ${worksrcpath}/bin/civl |
---|
37 | } |
---|
38 | |
---|
39 | build {} |
---|
40 | |
---|
41 | destroot { |
---|
42 | xinstall -m 0755 -W ${worksrcpath}/bin civl ${destroot}/${prefix}/bin/ |
---|
43 | xinstall -d ${destroot}${prefix}/share/java/civl |
---|
44 | xinstall -m 0644 -W ${worksrcpath}/lib civl-${version}_${rev}.jar ${destroot}/${prefix}/share/java/civl/ |
---|
45 | xinstall -d ${destroot}${docdir} |
---|
46 | xinstall -m 0644 -W ${worksrcpath} \ |
---|
47 | README \ |
---|
48 | ${destroot}${docdir} |
---|
49 | xinstall -m 0644 -W ${worksrcpath}/doc \ |
---|
50 | civl-manual.pdf \ |
---|
51 | ${destroot}${docdir} |
---|
52 | xinstall -m 0644 -W ${worksrcpath}/licenses \ |
---|
53 | LICENSE.antlr-3.txt \ |
---|
54 | LICENSE.antlr-4.txt \ |
---|
55 | LICENSE.civl.txt \ |
---|
56 | ${destroot}${docdir} |
---|
57 | |
---|
58 | xinstall -d ${destroot}${javadir} |
---|
59 | xinstall -m 0644 -W ${worksrcpath}/lib \ |
---|
60 | civl-${version}_${rev}.jar \ |
---|
61 | ${destroot}${javadir} |
---|
62 | |
---|
63 | xinstall -d ${destroot}${examplesdir} |
---|
64 | copy ${worksrcpath}/examples ${destroot}${examplesdir} |
---|
65 | } |
---|