source: trunk/dports/lang/QiII/Portfile

Last change on this file was 84550, checked in by snc@…, 6 years ago

modelines

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
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 84550 2011-09-27 21:05:11Z ryandesign@macports.org $
3
4PortSystem        1.0
5
6name              QiII
7version           1.07
8revision          1
9categories        lang
10maintainers       mac.com:quest
11platforms         darwin
12description       Qi is a functional programming language developed \
13                  by Dr Mark Tarver
14
15long_description  Qi is a functional programming language developed \
16                  by Dr Mark Tarver and introduced in April 2005. A \
17                  new version was reimplemented and issued as Qi II \
18                  in November 2008. The first version was free \
19                  software, licensed under GPL. But, as GPL was \
20                  perceived as unfriendly to commercial use, Qi II \
21                  is available via two proprietary licenses: one for \
22                  personal and educational use, and another for \
23                  producing closed source software. \
24                  Qi is written in Lisp. It includes most of the \
25                  features common to modern functional programming \
26                  languages such as pattern-matching, currying, partial \
27                  applications, guards and (optional) static type checking.
28
29homepage          http://www.lambdassociates.org/
30master_sites      http://www.lambdassociates.org/Download/
31distname          ${name}${version}
32use_zip           yes
33use_configure     no
34supported_archs   noarch
35
36checksums         md5 3a0b5c56d0f107f80f5bca11b82a4d59
37
38depends_build     port:sbcl
39
40set qiii_dir        ${prefix}/share/${name}
41
42build { 
43  system "cd ${worksrcpath}/Lisp && ${prefix}/bin/sbcl --load 'install.lsp'"
44  reinplace "s|Qi.core|${qiii_dir}/Lisp/Qi.core|g" ${worksrcpath}/Lisp/Qi-Linux-SBCL
45  system "cd ${worksrcpath}/Lisp && cat Qi-Linux-SBCL | col -b > Qi-Mac-SBCL"
46  file attributes ${worksrcpath}/Lisp/Qi-Mac-SBCL -permissions 0755
47}
48
49destroot {
50    copy ${worksrcpath} ${destroot}${qiii_dir}
51    ln -s ${qiii_dir}/Lisp/Qi-Mac-SBCL ${destroot}${prefix}/bin/Qi
52}
Note: See TracBrowser for help on using the repository browser.