Changeset 82803


Ignore:
Timestamp:
Aug 20, 2011, 8:00:58 PM (9 years ago)
Author:
jeremyhu@…
Message:

llvm-devel: Claim maintainership (to go along with clang-devel) and adjust formatting and variants to better match llvm port

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/llvm-devel/Portfile

    r82467 r82803  
    22# $Id$
    33
    4 PortSystem          1.0
     4PortSystem              1.0
    55
    6 name                llvm-devel
    7 conflicts           llvm
    8 version             3.0-r137552
    9 categories          lang
    10 platforms           darwin
    11 maintainers         nomaintainer
    12 license             BSD
     6name                    llvm-devel
     7conflicts               llvm
     8svn.revision            138208
     9version                 3.0-r${svn.revision}
     10categories              lang
     11platforms               darwin
     12license                 UIUC/NCSA
     13maintainers             jeremyhu openmaintainer
     14description             llvm is a next generation compiler infrastructure (svn trunk version)
     15long_description        The LLVM Core libraries provide a modern source- and \
     16                        target-independent optimizer, along with code \
     17                        generation support for many popular CPUs (as well as \
     18                        some less common ones!) These libraries are built \
     19                        around a well specified code representation known as \
     20                        the LLVM intermediate representation ("LLVM IR").
    1321
    14 description         This is the LLVM svn version.
    15 long_description    LLVM is the next generation compiler meant to replace \
    16                     GCC by providing a much cleaner and interoperable \
    17                     infrastructure.
     22homepage                http://llvm.org/
     23master_sites            ${homepage}releases/${version}/
    1824
    19 homepage            http://www.llvm.org/
     25fetch.type              svn
     26svn.url                 http://llvm.org/svn/llvm-project/llvm/trunk
    2027
    21 depends_build       port:gzip port:bzip2
     28worksrcdir              trunk
    2229
    23 fetch.type          svn
    24 svn.url             http://llvm.org/svn/llvm-project/llvm/trunk
    25 svn.revision        137552
     30depends_lib             port:libffi
     31depends_run             bin:perl:perl5
    2632
    27 worksrcdir          trunk
     33universal_variant       no
    2834
    29 universal_variant   no
     35build.env-append        REQUIRE_RTTI=1
     36configure.cppflags
     37configure.ldflags
     38configure.args          --enable-bindings=none --enable-libffi --enable-shared --enable-jit \
     39                        --enable-optimized --disable-assertions --disable-profiling \
     40                        --disable-debug-symbols --disable-debug-runtime
    3041
    31 configure.args      --enable-optimized \
    32                     --enable-targets=x86,powerpc
    33 
    34 variant jit description {enable jit compilation} {
    35     configure.args-append   --enable-jit
     42platform darwin {
     43    if {${build_arch} == "i386" } {
     44        configure.pre_args-append --build=i686-apple-darwin${os.major}
     45    } else {
     46        configure.pre_args-append --build=${build_arch}-apple-darwin${os.major}
     47    }
    3648}
    3749
    38 variant debug description {generate debug build} {
    39     configure.args-delete   --enable-optimized
    40     configure.args-append   --disable-optimized
     50platform darwin 8 {
     51    pre-fetch {
     52        ui_error "${name} requires Mac OS X 10.5 or greater."
     53        return -code error "incompatible Mac OS X version"
     54    }
    4155}
     56
     57variant debug {
     58    configure.args-delete --disable-assertions --disable-debug-symbols --enable-optimize
     59    configure.args-append --enable-assertions --enable-debug-symbols --disable-optimize
     60}
     61
     62variant ocaml description {Enable generation of OCaml binding} {
     63    depends_lib-append   port:ocaml
     64
     65    configure.args-delete --enable-bindings=none
     66    configure.args-append --enable-bindings=ocaml
     67
     68    destroot.args-append  OVERRIDE_libdir=${prefix}/lib
     69}
Note: See TracChangeset for help on using the changeset viewer.