Changeset 82803
- Timestamp:
- 08/20/11 13:00:58 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/lang/llvm-devel/Portfile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/lang/llvm-devel/Portfile
r82467 r82803 2 2 # $Id$ 3 3 4 PortSystem 1.04 PortSystem 1.0 5 5 6 name llvm-devel 7 conflicts llvm 8 version 3.0-r137552 9 categories lang 10 platforms darwin 11 maintainers nomaintainer 12 license BSD 6 name llvm-devel 7 conflicts llvm 8 svn.revision 138208 9 version 3.0-r${svn.revision} 10 categories lang 11 platforms darwin 12 license UIUC/NCSA 13 maintainers jeremyhu openmaintainer 14 description llvm is a next generation compiler infrastructure (svn trunk version) 15 long_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"). 13 21 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. 22 homepage http://llvm.org/ 23 master_sites ${homepage}releases/${version}/ 18 24 19 homepage http://www.llvm.org/ 25 fetch.type svn 26 svn.url http://llvm.org/svn/llvm-project/llvm/trunk 20 27 21 depends_build port:gzip port:bzip2 28 worksrcdir trunk 22 29 23 fetch.type svn 24 svn.url http://llvm.org/svn/llvm-project/llvm/trunk 25 svn.revision 137552 30 depends_lib port:libffi 31 depends_run bin:perl:perl5 26 32 27 worksrcdir trunk 33 universal_variant no 28 34 29 universal_variant no 35 build.env-append REQUIRE_RTTI=1 36 configure.cppflags 37 configure.ldflags 38 configure.args --enable-bindings=none --enable-libffi --enable-shared --enable-jit \ 39 --enable-optimized --disable-assertions --disable-profiling \ 40 --disable-debug-symbols --disable-debug-runtime 30 41 31 configure.args --enable-optimized \ 32 --enable-targets=x86,powerpc 33 34 variant jit description {enable jit compilation} { 35 configure.args-append --enable-jit 42 platform 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 } 36 48 } 37 49 38 variant debug description {generate debug build} { 39 configure.args-delete --enable-optimized 40 configure.args-append --disable-optimized 50 platform 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 } 41 55 } 56 57 variant 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 62 variant 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.

