From 062af5ca5efd5728fdff2dd43f224a84b162e38e Mon Sep 17 00:00:00 2001 From: Humdinger Date: Fri, 4 Sep 2015 15:02:11 +0200 Subject: [PATCH] Recipe cosmetics: improved SUMMARY/DESCRIPTION, re-ordered blocks. --- sys-devel/llvm/llvm-3.5.2.recipe | 47 ++++++++++++++++----- sys-devel/m4/m4-1.4.16.recipe | 25 ++++++----- sys-devel/make/make-3.82.recipe | 20 ++++----- sys-libs/libexecinfo/libexecinfo-1.1.recipe | 37 ++++++++-------- 4 files changed, 74 insertions(+), 55 deletions(-) diff --git a/sys-devel/llvm/llvm-3.5.2.recipe b/sys-devel/llvm/llvm-3.5.2.recipe index 441054d70..e7a2a2d97 100644 --- a/sys-devel/llvm/llvm-3.5.2.recipe +++ b/sys-devel/llvm/llvm-3.5.2.recipe @@ -1,14 +1,42 @@ SUMMARY="Modular and reuseable compiler and toolchain technologies" -DESCRIPTION=" -LLVM is a collection of modular and reuseable compiler and and toolchain \ -technologies. -" +DESCRIPTION="LLVM is a collection of modular and reuseable compiler and and \ +toolchain technologies.The LLVM compiler system for C and C++ includes the \ +following: + +- Front-ends for C, C++, Objective-C, Fortran, etc. based on the GCC 4.2 \ +parsers. They support the ANSI-standard C and C++ languages to the same \ +degree that GCC supports them. Additionally, many GCC extensions are \ +supported. +- A stable implementation of the LLVM instruction set, which serves as both \ +the online and offline code representation, together with assembly (ASCII) \ +and bytecode (binary) readers and writers, and a verifier. +- A powerful pass-management system that automatically sequences passes \ +(including analysis, transformation, and code-generation passes) based on \ +their dependences, and pipelines them for efficiency. +- A wide range of global scalar optimizations. +- A link-time interprocedural optimization framework with a rich set of \ +analyses and transformations, including sophisticated whole-program pointer \ +analysis, call graph construction, and support for profile-guided optimizations. +- An easily retargettable code generator, which currently supports X86, \ +X86-64, PowerPC, PowerPC-64, ARM, Thumb, SPARC, Alpha, CellSPU, MIPS, MSP430, \ +SystemZ, and XCore. +- A Just-In-Time (JIT) code generation system, which currently supports X86, \ +X86-64, ARM, AArch64, Mips, SystemZ, PowerPC, and PowerPC-64. +- Support for generating DWARF debugging information. +- A C back-end useful for testing and for generating native code on targets \ +other than the ones listed above. +- A profiling system similar to gprof. +- A test framework with a number of benchmark codes and applications. +- APIs and debugging tools to simplify rapid development of LLVM components." HOMEPAGE="http://www.llvm.org/" -LICENSE="UIUC" COPYRIGHT="2003-2014 University of Illinois at Urbana-Champaign" +LICENSE="UIUC" +REVISION="1" SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.xz" CHECKSUM_SHA256="44196156d5749eb4b4224fe471a29cc3984df92570a4a89fa859f7394fc0c575" -REVISION="1" +SOURCE_DIR="llvm-$portVersion.src" +PATCHES="llvm-${portVersion}.patchset" + ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" @@ -157,10 +185,11 @@ PROVIDES=" REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion " + BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:aclocal cmd:autoconf cmd:automake @@ -175,10 +204,6 @@ BUILD_PREREQUIRES=" cmd:grep " -PATCHES="llvm-${portVersion}.patchset" - -SOURCE_DIR="llvm-$portVersion.src" - BUILD() { # Haiku C++ requires rtti in a lot of central system components diff --git a/sys-devel/m4/m4-1.4.16.recipe b/sys-devel/m4/m4-1.4.16.recipe index 3c55f47cd..e4c7baea1 100644 --- a/sys-devel/m4/m4-1.4.16.recipe +++ b/sys-devel/m4/m4-1.4.16.recipe @@ -1,24 +1,23 @@ -SUMMARY="A macro processor" -DESCRIPTION=" -GNU M4 is an implementation of the traditional Unix macro processor. It is \ -mostly SVR4 compatible although it has some extensions (for example, handling \ -more than 9 positional parameters to macros). GNU M4 also has built-in \ -functions for including files, running shell commands, doing arithmetic, etc. +SUMMARY="The GNU macro processor" +DESCRIPTION="GNU M4 is an implementation of the traditional UNIX macro \ +processor. It is mostly SVR4 compatible although it has some extensions \ +(for example, handling more than 9 positional parameters to macros). + M4 is a macro processor in the sense that it copies its input to the output \ expanding macros as it goes. Macros are either builtin or user-defined and can \ -take any number of arguments. Besides just doing macro expansion, m4 has \ +take any number of arguments. Besides just doing macro expansion, M4 has \ builtin functions for including named files, running UNIX commands, doing \ -integer arithmetic, manipulating text in various ways, recursion etc... M4 can \ +integer arithmetic, manipulating text in various ways, recursion, etc. M4 can \ be used either as a front-end to a compiler or as a macro processor in its own \ right. -One of the biggest users of M4 is the GNU Autoconf project. -" +One of the biggest users of M4 is the GNU Autoconf project." HOMEPAGE="http://www.gnu.org/software/m4/" COPYRIGHT="2000, 2005-2011 Free Software Foundation, Inc." LICENSE="GNU GPL v3" +REVISION="5" SOURCE_URI="http://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.gz" CHECKSUM_SHA256="e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da" -REVISION="5" + ARCHITECTURES="x86_gcc2 x86 x86_64 arm" PROVIDES=" @@ -28,10 +27,11 @@ PROVIDES=" REQUIRES=" haiku " + BUILD_REQUIRES=" + haiku_devel " BUILD_PREREQUIRES=" - haiku_devel cmd:awk cmd:gcc cmd:ld @@ -41,7 +41,6 @@ BUILD_PREREQUIRES=" cmd:grep " - BUILD() { runConfigure ./configure \ diff --git a/sys-devel/make/make-3.82.recipe b/sys-devel/make/make-3.82.recipe index f90e84417..ff4be35b6 100644 --- a/sys-devel/make/make-3.82.recipe +++ b/sys-devel/make/make-3.82.recipe @@ -1,22 +1,20 @@ SUMMARY="Standard tool to compile source trees" -DESCRIPTION=" -Make is a tool which controls the generation of executables and other \ -non-source files of a program from the program's source files. +DESCRIPTION="Make is a tool which controls the generation of executables and \ +other non-source files of a program from the program's source files. Make gets its knowledge of how to build your program from a file called the \ makefile, which lists each of the non-source files and how to compute it from \ other files. When you write a program, you should write a makefile for it, so \ -that it is possible to use Make to build and install the program. -" +that it is possible to use Make to build and install the program." HOMEPAGE="http://www.gnu.org/software/make/" -LICENSE="GNU GPL v3" COPYRIGHT="1988-2010 Free Software Foundation, Inc." +LICENSE="GNU GPL v3" +REVISION="5" SOURCE_URI="http://ftp.gnu.org/pub/gnu/make/make-3.82.tar.bz2" CHECKSUM_SHA256="e2c1a73f179c40c71e2fe8abf8a8a0688b8499538512984da4a76958d0402966" -REVISION="5" -ARCHITECTURES="x86_gcc2 x86 x86_64 arm" - PATCHES="make-3.82.patch" +ARCHITECTURES="x86_gcc2 x86 x86_64 arm" + PROVIDES=" make = $portVersion compat >= 3.82 cmd:make = $portVersion compat >= 3.82 @@ -24,10 +22,11 @@ PROVIDES=" REQUIRES=" haiku " + BUILD_REQUIRES=" + haiku_devel " BUILD_PREREQUIRES=" - haiku_devel cmd:gcc cmd:ld cmd:libtoolize @@ -35,7 +34,6 @@ BUILD_PREREQUIRES=" cmd:grep " - BUILD() { libtoolize --force --copy --install diff --git a/sys-libs/libexecinfo/libexecinfo-1.1.recipe b/sys-libs/libexecinfo/libexecinfo-1.1.recipe index 044357671..9ee4158b0 100644 --- a/sys-libs/libexecinfo/libexecinfo-1.1.recipe +++ b/sys-libs/libexecinfo/libexecinfo-1.1.recipe @@ -1,15 +1,15 @@ SUMMARY="Library for inspecting a program's backtrace" -DESCRIPTION=" -This is a quick-n-dirty BSD licensed clone of backtrace facility found in the \ -GNU libc, mainly intended for porting linuxish code to BSD platforms, however \ -it can be used at any platform which has a gcc compiler. -" +DESCRIPTION="This is a quick-n-dirty BSD licensed clone of backtrace facility \ +found in the GNU libc, mainly intended for porting linuxish code to BSD \ +platforms, however it can be used at any platform which has a GCC compiler." HOMEPAGE="http://www.freshports.org/devel/libexecinfo" COPYRIGHT="2003-2014 Maxim Sobolev" LICENSE="BSD (2-clause)" +REVISION="1" SOURCE_URI="http://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/itetcu/libexecinfo-1.1.tar.bz2" CHECKSUM_SHA256="c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f" -REVISION="1" +PATCHES="libexecinfo-$portVersion.patchset" + ARCHITECTURES="x86_gcc2 x86 ?x86_64" SECONDARY_ARCHITECTURES="x86 x86_gcc2" @@ -20,17 +20,24 @@ PROVIDES=" REQUIRES=" haiku$secondaryArchSuffix " + +PROVIDES_devel=" + libexecinfo${secondaryArchSuffix}_devel = $portVersion compat >= 1 + devel:libexecinfo${secondaryArchSuffix} = $portVersion compat >= 1 + " +REQUIRES_devel=" + libexecinfo${secondaryArchSuffix} == $portVersion base + " + BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make " -PATCHES="libexecinfo-$portVersion.patchset" - BUILD() { gcc -c -o execinfo.o execinfo.c @@ -60,14 +67,4 @@ TEST() { gcc test.c -o test libexecinfo.a ./test -} - -# ----- devel package ------------------------------------------------------- - -PROVIDES_devel=" - libexecinfo${secondaryArchSuffix}_devel = $portVersion compat >= 1 - devel:libexecinfo${secondaryArchSuffix} = $portVersion compat >= 1 - " -REQUIRES_devel=" - libexecinfo${secondaryArchSuffix} == $portVersion base - " +} \ No newline at end of file