1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name QiII |
---|
6 | version 1.07 |
---|
7 | revision 1 |
---|
8 | categories lang |
---|
9 | maintainers mac.com:quest |
---|
10 | platforms universal |
---|
11 | description Qi is a functional programming language developed \ |
---|
12 | by Dr Mark Tarver |
---|
13 | |
---|
14 | long_description Qi is a functional programming language developed \ |
---|
15 | by Dr Mark Tarver and introduced in April 2005. A \ |
---|
16 | new version was reimplemented and issued as Qi II \ |
---|
17 | in November 2008. The first version was free \ |
---|
18 | software, licensed under GPL. But, as GPL was \ |
---|
19 | perceived as unfriendly to commercial use, Qi II \ |
---|
20 | is available via two proprietary licenses: one for \ |
---|
21 | personal and educational use, and another for \ |
---|
22 | producing closed source software. \ |
---|
23 | Qi is written in Lisp. It includes most of the \ |
---|
24 | features common to modern functional programming \ |
---|
25 | languages such as pattern-matching, currying, partial \ |
---|
26 | applications, guards and (optional) static type checking. |
---|
27 | |
---|
28 | homepage http://http://www.lambdassociates.org/ |
---|
29 | master_sites http://www.lambdassociates.org/Download/ |
---|
30 | distname ${name}${version} |
---|
31 | use_zip yes |
---|
32 | use_configure no |
---|
33 | |
---|
34 | checksums md5 3a0b5c56d0f107f80f5bca11b82a4d59 |
---|
35 | |
---|
36 | depends_build port:sbcl |
---|
37 | |
---|
38 | build { |
---|
39 | system "cd ${worksrcpath}/Lisp; sbcl --load 'install.lsp'" |
---|
40 | reinplace "s|Qi.core|${prefix}/src/${name}/Lisp/Qi.core|g" ${worksrcpath}/Lisp/Qi-Linux-SBCL |
---|
41 | system "cd ${worksrcpath}/Lisp; cat Qi-Linux-SBCL | col -b > Qi-Mac-SBCL" |
---|
42 | system "cd ${worksrcpath}/Lisp; chmod 755 Qi-Mac-SBCL" |
---|
43 | } |
---|
44 | |
---|
45 | destroot { |
---|
46 | system "cp -R ${worksrcpath} ${destroot}${prefix}/src/${name}" |
---|
47 | } |
---|
48 | |
---|
49 | post-install { |
---|
50 | system "ln -fs ${prefix}/src/${name}/Lisp/Qi-Mac-SBCL ${prefix}/bin/Qi" |
---|
51 | } |
---|
52 | |
---|
53 | post-uninstall { |
---|
54 | system "cd ${prefix}/bin; rm Qi" |
---|
55 | } |
---|