From b6dbabb155ef179bf704a6dd1a8d30dcc77dfaa6 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 28 Apr 2013 00:50:22 +0200 Subject: [PATCH] Convert jam-2.5.recipe to an actual recipe. --- sys-devel/jam/jam-2.5.recipe | 58 +++++++++++++++++++++++++++++------- 1 file changed, 48 insertions(+), 10 deletions(-) diff --git a/sys-devel/jam/jam-2.5.recipe b/sys-devel/jam/jam-2.5.recipe index 4d4295ee5..c7bffda9c 100644 --- a/sys-devel/jam/jam-2.5.recipe +++ b/sys-devel/jam/jam-2.5.recipe @@ -1,21 +1,59 @@ -DESCRIPTION="jam" +SUMMARY="Build tool, replacement for make" +DESCRIPTION=" + Jam is a small open-source build tool that can be used as a replacement + for Make. Even though Jam is a lot simpler to use than Make, it is far + more powerful and easy to master. Its design is sufficiently clear to + allow any average programmer to extend it with advanced features at will. + + The main differences between Jam and Make are as follows: + + - Jam uses ‘Jamfiles’ instead of ‘Makefiles’. + + - Jamfiles do not normally contain toolset-specific rules or actions. + They are thus portable among distinct compilers. + + - Jamfiles are a lot simpler than Makefiles to write and understand, + while providing the same functionality, and much, much more. + " HOMEPAGE="http://www.perforce.com/jam/jam.html" +LICENSE="Jam" +COPYRIGHT="1993-2003 Christopher Seiwald" SRC_URI="git://git.haiku-os.org/buildtools" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" -#CHECKSUM_MD5="" +ARCHITECTURES="x86_gcc2 ?x86" + +PROVIDES=" + jam = $portVersion + cmd:jam = $portVersion compat >= 2.5 + " + +REQUIRES=" + haiku >= $haikuVersion + " +BUILD_REQUIRES=" + cmd:gcc + cmd:make + cmd:ld + " +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + " + +SOURCE_DIR="$portVersionedName/jam" + BUILD() { - cd jam-2.5/jam make } INSTALL() { - cd jam-2.5/jam - mkdir -p ${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY` - cp -a bin.haikux86/jam ${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`/jam + mkdir -p "$binDir" + cp bin.haikux86/jam "$binDir" + + mkdir -p "$docDir" + cp Jam.html README* "$docDir" + + mkdir -p "$developDocDir" + cp Jambase.html Jamfile.html "$developDocDir" } -LICENSE="Jam" -COPYRIGHT="1993-2003 Christopher Seiwald"