Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/lang/pure/Portfile

Revision 42425, 1.8 KB (checked in by ryandesign@…, 13 days ago)

pure: update to 0.14; all tests passed

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1# $Id$
2
3PortSystem              1.0
4
5name                    pure
6version                 0.14
7categories              lang
8platforms               darwin
9maintainers             ryandesign
10use_parallel_build      yes
11homepage                http://pure-lang.googlecode.com/
12master_sites            ${homepage}files/
13
14description \
15    functional programming language based on term rewriting
16
17long_description \
18    Pure is a functional programming language based on term rewriting. \
19    It has a modern syntax featuring curried function applications, lexical \
20    closures and equational definitions with pattern matching, and thus is \
21    somewhat similar to languages of the Haskell and ML variety. But Pure is \
22    also a very dynamic and reflective language, and is more like Lisp in \
23    this respect. The interpreter has an LLVM backend to do JIT compilation, \
24    hence programs run blazingly fast and interfacing to C modules is easy.
25
26checksums \
27    md5     43fc8fb3f9ab4a0edaaee31a4b1cdabf \
28    sha1    d393a788df89693e3efddf5e9394a9f2a569a3ba \
29    rmd160  3187afc8a152d19c44dbe51221729cbcf1759d69
30
31depends_lib \
32    port:gmp \
33    port:gsl \
34    port:libiconv \
35    port:libtool \
36    path:bin/llvm-config:llvm \
37    port:readline
38
39configure.args \
40    --enable-gsl
41
42pre-configure {
43    set llvm_minimum_version 2.4
44    set llvm_installed_version [exec llvm-config --version]
45    if {[rpm-vercomp ${llvm_installed_version} ${llvm_minimum_version}] < 0} {
46        return -code error "pure ${version} requires llvm ${llvm_minimum_version} or later but you have llvm ${llvm_installed_version}."
47    }
48}
49
50test.run                yes
51test.target             check
52
53livecheck.check         regex
54livecheck.url           http://code.google.com/p/pure-lang/downloads/list
55livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the browser.