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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name cling |
---|
7 | version 0.1 |
---|
8 | categories lang devel |
---|
9 | platforms darwin |
---|
10 | license LGPL UI/NCSAOSL |
---|
11 | maintainers gmail.com:ani07nov |
---|
12 | description Interactive C++ interpreter |
---|
13 | long_description Cling is an interactive C++ interpreter, built on the top \ |
---|
14 | of LLVM and Clang libraries. Its advantages over the \ |
---|
15 | standard interpreters are that it has command line prompt \ |
---|
16 | and uses just-in-time (JIT) compiler for compilation. \ |
---|
17 | One of Cling's main goals is to provide contemporary, \ |
---|
18 | high-performance alternative of the current C++ interpreter \ |
---|
19 | in the ROOT project - CINT. The backward-compatibility with \ |
---|
20 | CINT is major priority during the development. |
---|
21 | |
---|
22 | homepage http://cling.web.cern.ch/ |
---|
23 | |
---|
24 | depends_lib port:python27 |
---|
25 | |
---|
26 | set LastKnownGoodLLVMSVNRevision 202469 |
---|
27 | |
---|
28 | fetch.type git |
---|
29 | git.url http://root.cern.ch/git/llvm.git |
---|
30 | git.branch origin/cling-patches-r{LastKnownGoodLLVMSVNRevision} |
---|
31 | |
---|
32 | post-fetch{ |
---|
33 | system -W ${worksrcpath}/tools "git clone http://root.cern.ch/git/clang.git && git checkout tags/cling-patches-r{LastKnownGoodLLVMSVNRevision}" |
---|
34 | system -W ${worksrcpath}/tools "git clone http://root.cern.ch/git/cling.git && git checkout tags/v${version}" |
---|
35 | } |
---|
36 | |
---|
37 | configure.args --disable-compiler-version-checks \ |
---|
38 | --with-python={prefix}/bin/python2.7 \ |
---|
39 | --enable-targets=host \ |
---|
40 | --enable-optimized \ |
---|
41 | --enable-cxx11 |
---|
42 | |
---|
43 | livecheck.type none |
---|