|
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 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name pure |
|---|
| 6 | version 0.14 |
|---|
| 7 | categories lang |
|---|
| 8 | platforms darwin |
|---|
| 9 | maintainers ryandesign |
|---|
| 10 | use_parallel_build yes |
|---|
| 11 | homepage http://pure-lang.googlecode.com/ |
|---|
| 12 | master_sites ${homepage}files/ |
|---|
| 13 | |
|---|
| 14 | description \ |
|---|
| 15 | functional programming language based on term rewriting |
|---|
| 16 | |
|---|
| 17 | long_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 | |
|---|
| 26 | checksums \ |
|---|
| 27 | md5 43fc8fb3f9ab4a0edaaee31a4b1cdabf \ |
|---|
| 28 | sha1 d393a788df89693e3efddf5e9394a9f2a569a3ba \ |
|---|
| 29 | rmd160 3187afc8a152d19c44dbe51221729cbcf1759d69 |
|---|
| 30 | |
|---|
| 31 | depends_lib \ |
|---|
| 32 | port:gmp \ |
|---|
| 33 | port:gsl \ |
|---|
| 34 | port:libiconv \ |
|---|
| 35 | port:libtool \ |
|---|
| 36 | path:bin/llvm-config:llvm \ |
|---|
| 37 | port:readline |
|---|
| 38 | |
|---|
| 39 | configure.args \ |
|---|
| 40 | --enable-gsl |
|---|
| 41 | |
|---|
| 42 | pre-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 | |
|---|
| 50 | test.run yes |
|---|
| 51 | test.target check |
|---|
| 52 | |
|---|
| 53 | livecheck.check regex |
|---|
| 54 | livecheck.url http://code.google.com/p/pure-lang/downloads/list |
|---|
| 55 | livecheck.regex ${name}-(\[0-9.\]+)\\.tar |
|---|