From 081d62f340cdd5f20359fffed0eb012c05952c6c Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sun, 18 Mar 2012 21:20:08 +0000 Subject: [PATCH] Initial .bep for clang. --- sys-devel/clang/clang-3.0.bep | 26 +++++++++++++ sys-devel/clang/licenses/UIUC | 69 +++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 sys-devel/clang/clang-3.0.bep create mode 100644 sys-devel/clang/licenses/UIUC diff --git a/sys-devel/clang/clang-3.0.bep b/sys-devel/clang/clang-3.0.bep new file mode 100644 index 000000000..1b9813895 --- /dev/null +++ b/sys-devel/clang/clang-3.0.bep @@ -0,0 +1,26 @@ +DESCRIPTION="clang: an llvm front end compiler for C and C++" +HOMEPAGE="http://www.llvm.org/" +SRC_URI="http://llvm.org/releases/3.0/llvm-3.0.tar.gz" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="groff" +CHECKSUM_MD5="a8e5f5f1c1adebae7b4a654c376a6005" +MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building." +BUILD { + cd llvm-3.0.src/tools + wget "http://llvm.org/releases/3.0/clang-3.0.tar.gz" + echo "Extracting clang llvm tool..." + tar xzf clang-3.0.tar.gz + mv clang-3.0.src clang + cd .. + ./configure --enable-optimized --prefix=`finddir B_COMMON_DIRECTORY` + make +} + +INSTALL { + cd llvm-3.0.src + make install +} + +LICENSE="UIUC" +COPYRIGHT="2003-2010 University of Illinois at Urbana-Champaign" diff --git a/sys-devel/clang/licenses/UIUC b/sys-devel/clang/licenses/UIUC new file mode 100644 index 000000000..1b1047ca3 --- /dev/null +++ b/sys-devel/clang/licenses/UIUC @@ -0,0 +1,69 @@ +============================================================================== +LLVM Release License +============================================================================== +University of Illinois/NCSA +Open Source License + +Copyright (c) 2003-2011 University of Illinois at Urbana-Champaign. +All rights reserved. + +Developed by: + + LLVM Team + + University of Illinois at Urbana-Champaign + + http://llvm.org + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal with +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimers in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the LLVM Team, University of Illinois at + Urbana-Champaign, nor the names of its contributors may be used to + endorse or promote products derived from this Software without specific + prior written permission. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE +SOFTWARE. + +============================================================================== +Copyrights and Licenses for Third Party Software Distributed with LLVM: +============================================================================== +The LLVM software contains code written by third parties. Such software will +have its own individual LICENSE.TXT file in the directory in which it appears. +This file will describe the copyrights, license, and restrictions which apply +to that code. + +The disclaimer of warranty in the University of Illinois Open Source License +applies to all code in the LLVM Distribution, and nothing in any of the +other licenses gives permission to use the names of the LLVM Team or the +University of Illinois to endorse or promote products derived from this +Software. + +The following pieces of software have additional or alternate copyrights, +licenses, and/or restrictions: + +Program Directory +------- --------- +Autoconf llvm/autoconf + llvm/projects/ModuleMaker/autoconf + llvm/projects/sample/autoconf +CellSPU backend llvm/lib/Target/CellSPU/README.txt +Google Test llvm/utils/unittest/googletest +OpenBSD regex llvm/lib/Support/{reg*, COPYRIGHT.regex}