1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 73189 2010-11-06 19:22:21Z jann@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name spin |
---|
7 | version 6.0.1 |
---|
8 | set version_no_dot [join [split ${version} .] ""] |
---|
9 | revision 1 |
---|
10 | distname ${name}${version_no_dot} |
---|
11 | categories devel |
---|
12 | platforms darwin |
---|
13 | maintainers jann |
---|
14 | description The Spin model checker |
---|
15 | |
---|
16 | long_description \ |
---|
17 | SPIN is a general tool for verifying the correctness of \ |
---|
18 | distributed software (software design) in a rigorous and \ |
---|
19 | mostly automated fashion. |
---|
20 | |
---|
21 | homepage http://spinroot.com |
---|
22 | master_sites http://spinroot.com/spin/Src/ |
---|
23 | checksums md5 7ece51bc605fe4a3638e427c28f44b57 \ |
---|
24 | sha1 ba17b036cf95c4b4bcacbe3ba1c91312c802ff38 \ |
---|
25 | rmd160 1d9bd246362f886261655b0093227b421d150af6 |
---|
26 | worksrcdir Spin/Src${version} |
---|
27 | use_configure no |
---|
28 | use_parallel_build no |
---|
29 | |
---|
30 | |
---|
31 | build.target "" |
---|
32 | build.args CC="${configure.cc} -DNXT" \ |
---|
33 | CFLAGS='${configure.cflags} -ansi -D_POSIX_SOURCE -Wno-format-security -DMAC -DCPP=\"\\\"gcc -E -x c -xassembler-with-cpp\\""' |
---|
34 | |
---|
35 | destroot { |
---|
36 | xinstall -m 0444 ${worksrcpath}/../Man/${name}.1 \ |
---|
37 | ${destroot}${prefix}/share/man/man1 |
---|
38 | xinstall -m 0755 ${worksrcpath}/${name} \ |
---|
39 | ${destroot}${prefix}/bin |
---|
40 | } |
---|