Ticket #43530: cling_portfile

File cling_portfile, 1.8 KB (added by ani07nov@…, 10 years ago)

Initial portfile for Cling

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$
3
4PortSystem          1.0
5
6name                cling
7version             0.1
8categories          lang devel
9platforms           darwin
10license             LGPL UI/NCSAOSL
11maintainers         gmail.com:ani07nov
12description         Interactive C++ interpreter
13long_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                   
22homepage            http://cling.web.cern.ch/
23
24depends_lib         port:python27
25
26set LastKnownGoodLLVMSVNRevision 202469
27
28fetch.type          git
29git.url             http://root.cern.ch/git/llvm.git
30git.branch          origin/cling-patches-r{LastKnownGoodLLVMSVNRevision}
31
32post-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
37configure.args      --disable-compiler-version-checks \
38                    --with-python={prefix}/bin/python2.7 \
39                    --enable-targets=host \
40                    --enable-optimized \
41                    --enable-cxx11
42                   
43livecheck.type      none