From 388a71e266bc30d727272909b443b7bad1bb3f2e Mon Sep 17 00:00:00 2001 From: Jim Date: Sun, 23 Mar 2014 10:37:50 -0700 Subject: [PATCH 1/3] moved yab to dev-lang added haiku-apps/yab_ide --- .../yab/yab-1.7.02.recipe | 55 +++++++----- haiku-apps/yab/yab-1.6.recipe | 32 ------- haiku-apps/yab_ide/yab_ide-2.2.1.recipe | 83 +++++++++++++++++++ 3 files changed, 119 insertions(+), 51 deletions(-) rename haiku-apps/yab/yab-1.7.recipe => dev-lang/yab/yab-1.7.02.recipe (55%) delete mode 100644 haiku-apps/yab/yab-1.6.recipe create mode 100644 haiku-apps/yab_ide/yab_ide-2.2.1.recipe diff --git a/haiku-apps/yab/yab-1.7.recipe b/dev-lang/yab/yab-1.7.02.recipe similarity index 55% rename from haiku-apps/yab/yab-1.7.recipe rename to dev-lang/yab/yab-1.7.02.recipe index 580637ebe..b4f20f63c 100644 --- a/haiku-apps/yab/yab-1.7.recipe +++ b/dev-lang/yab/yab-1.7.02.recipe @@ -1,19 +1,20 @@ SUMMARY="yab is an extended version of yabsic, a BASIC programming language" DESCRIPTION=" yab is an extended version of yabasic, a BASIC programming language, with \ -special commands designed for BeOS, Haiku and Zeta. +special commands designed for Haiku. " HOMEPAGE="http://sourceforge.net/projects/yab-interpreter" -SRC_URI="git+https://github.com/HaikuArchives/Yab.git" +SRC_URI="git+https://github.com/bbjimmy/Yab.git" REVISION="2" -#CHECKSUM_MD5="2b465895d9eb2e8383f035dd67b88a20" -LICENSE="Artistic - GNU GPL v2" -COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic) - 2006-2009 Jan Bungeroth (yab improvements)" -ARCHITECTURES="!x86_gcc2 !x86 !x86_64" -SECONDARY_ARCHITECTURE="!x86_gcc2 !x86" +LICENSE="Artistic" + +COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic) + 2006-2009 Jan Bungeroth (yab improvements) + 2013 Jim Saxton ( yab improvements)" + +ARCHITECTURES="x86_gcc2 x86 !x86_64" +SECONDARY_ARCHITECTURE="!x86_64" #SOURCE_DIR="yab-$portVersion" @@ -24,7 +25,7 @@ PROVIDES=" REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion - lib:ncurses$secondaryArchSuffix + ncurses >= 5.9 " BUILD_REQUIRES=" @@ -43,17 +44,33 @@ BUILD_PREREQUIRES=" " BUILD() -{ - cd src +{ + mkdir tmp + cp -r src/* tmp + cd tmp make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + unzip -o App_YAB.zip + copyattr App_YAB yab } INSTALL() -{ - $YABDIR=$appsDir/yab - mkdir -p ${YABDIR} - cp -a ${YABDIR}apps/yab - cp -a Documentation ${YABDIR} - cp -a Programs ${YABDIR} - cp -a yab-IDE ${YABDIR} +{ + + + + mkdir -p $binDir + + cp tmp/yab $binDir/ + + mkdir -p $documentationDir + + cp -r Documentation/ $documentationDir/yab-1.7.02 + + mkdir -p $appsDir/yab-IDE + + cp -r src $appsDir/yab-IDE/src + cp -r Documentation $appsDir/yab-IDE/Documentation + rmdir --ignore tmp + + } diff --git a/haiku-apps/yab/yab-1.6.recipe b/haiku-apps/yab/yab-1.6.recipe deleted file mode 100644 index 3fcda61c9..000000000 --- a/haiku-apps/yab/yab-1.6.recipe +++ /dev/null @@ -1,32 +0,0 @@ -SUMMARY="yab is an extended version of yabsic, a BASIC programming language" -DESCRIPTION=" -yab is an extended version of yabasic, a BASIC programming language, with \ -special commands designed for BeOS, Haiku and Zeta. -" -HOMEPAGE="http://sourceforge.net/projects/yab-interpreter" -SRC_URI="http://ports-space.haiku-files.org/haiku-apps/source/yab-1.6.zip" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" -CHECKSUM_MD5="071e8653265a60fea96cceab46f67e5b" -BUILD() -{ - cd yab-1.6/src - make clean - make -} - -INSTALL() -{ - cd yab-1.6 - mkdir -p ${DESTDIR}/boot/apps/yab - cp -a src/yab ${DESTDIR}/boot/apps/yab - cp -a Documentation ${DESTDIR}/boot/apps/yab - cp -a Programs ${DESTDIR}/boot/apps/yab - cp -a yab-IDE ${DESTDIR}/boot/apps/yab -} - -LICENSE="Artistic - GNU GPL v2" -COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic) - 2006-2009 Jan Bungeroth (yab improvements)" diff --git a/haiku-apps/yab_ide/yab_ide-2.2.1.recipe b/haiku-apps/yab_ide/yab_ide-2.2.1.recipe new file mode 100644 index 000000000..97562bc46 --- /dev/null +++ b/haiku-apps/yab_ide/yab_ide-2.2.1.recipe @@ -0,0 +1,83 @@ +SUMMARY="Yab ide is an integrated development environment for yab. " +DESCRIPTION=" +Yab allows fast prototyping with simple and clean code. yab contains a large number of BeAPI specific commands for GUI creation and much, much more. +" +HOMEPAGE="http://sourceforge.net/projects/yab-interpreter" +SRC_URI="git+https://github.com/bbjimmy/Yab.git" +REVISION="2" + +LICENSE="Artistic" +COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic) + 2006-2009 Jan Bungeroth (yab improvements) + 2013 Jim Saxton ( yab improvements)" + +ARCHITECTURES="x86_gcc2 x86 !x86_64" +SECONDARY_ARCHITECTURE="!x86_64" + +#SOURCE_DIR="yab_ide-$portVersion" + +PROVIDES=" + yab_ide$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + ncurses >= 5.9 + yab >= 1.7.02 + devel:libncurses$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:libncurses$secondaryArchSuffix + devel:libz$secondaryArchSuffix +" + +BUILD_PREREQUIRES=" + cmd:bison + cmd:flex + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:mkdepend + cmd:perl + makefile_engine + " + +BUILD() +{ + cd src + make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + unzip -o App_YAB.zip + copyattr App_YAB yab +} + +INSTALL() +{ + + + + mkdir -p $binDir + + + + mkdir -p tmp + mkdir -p tmp/buildfactory + cp -r src/* tmp/buildfactory + cp -r yab-IDE/BuildFactory/* tmp/buildfactory/ + unzip -o tmp/buildfactory/parts/yabstuff.zip -d tmp/buildfactory/parts + cp yab-IDE/src/yab-IDE.yab tmp/buildfactory/ + cd tmp/buildfactory + BuildFactory.yab yab-IDE yab-IDE.yab application/x-vnd.yab-IDE + cd .. + cd .. + + + mkdir -p $appsDir + cp -r yab-IDE/ $appsDir/ + cp tmp/buildfactory/yab-IDE $appsDir/yab-IDE/ + cp yab-IDE/src/yab-IDE.yab $appsDir/yab-IDE/src/ + + + +} From 9347601d1f5f3f81216b18ad16fa1afd979518c9 Mon Sep 17 00:00:00 2001 From: Jim Date: Tue, 25 Mar 2014 08:08:14 -0700 Subject: [PATCH 2/3] updated requirwes and added a hash to the url. --- dev-lang/yab/yab-1.7.02.recipe | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/dev-lang/yab/yab-1.7.02.recipe b/dev-lang/yab/yab-1.7.02.recipe index b4f20f63c..bf0e698f2 100644 --- a/dev-lang/yab/yab-1.7.02.recipe +++ b/dev-lang/yab/yab-1.7.02.recipe @@ -4,7 +4,9 @@ yab is an extended version of yabasic, a BASIC programming language, with \ special commands designed for Haiku. " HOMEPAGE="http://sourceforge.net/projects/yab-interpreter" -SRC_URI="git+https://github.com/bbjimmy/Yab.git" +SRC_URI="git+https://github.com/bbjimmy/Yab.git#f4dcf31ed252a098337994aa7f03ec63bf44d544" + + REVISION="2" LICENSE="Artistic" @@ -13,19 +15,18 @@ COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic) 2006-2009 Jan Bungeroth (yab improvements) 2013 Jim Saxton ( yab improvements)" -ARCHITECTURES="x86_gcc2 x86 !x86_64" -SECONDARY_ARCHITECTURE="!x86_64" - +ARCHITECTURES="x86_gcc2 x86 ?x86_64" #SOURCE_DIR="yab-$portVersion" PROVIDES=" - yab$secondaryArchSuffix = $portVersion - cmd:yab$secondaryArchSuffix + yab = $portVersion compat >=1.7.02 + cmd:yab= $portVersion compat >=1.7.02 + " REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion - ncurses >= 5.9 + lib:libncurses$secondaryArchSuffix " BUILD_REQUIRES=" @@ -45,19 +46,19 @@ BUILD_PREREQUIRES=" BUILD() { - mkdir tmp + mkdir -p tmp cp -r src/* tmp cd tmp make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` unzip -o App_YAB.zip copyattr App_YAB yab + } INSTALL() { - - + mkdir -p $binDir cp tmp/yab $binDir/ @@ -70,7 +71,7 @@ INSTALL() cp -r src $appsDir/yab-IDE/src cp -r Documentation $appsDir/yab-IDE/Documentation - rmdir --ignore tmp + } From 5092bc1544bf55a1d639a48fa099623a795a0c26 Mon Sep 17 00:00:00 2001 From: Jim Date: Tue, 25 Mar 2014 11:19:42 -0700 Subject: [PATCH 3/3] updated requires, added hash --- haiku-apps/yab_ide/yab_ide-2.2.1.recipe | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/haiku-apps/yab_ide/yab_ide-2.2.1.recipe b/haiku-apps/yab_ide/yab_ide-2.2.1.recipe index 97562bc46..055257e4e 100644 --- a/haiku-apps/yab_ide/yab_ide-2.2.1.recipe +++ b/haiku-apps/yab_ide/yab_ide-2.2.1.recipe @@ -3,7 +3,7 @@ DESCRIPTION=" Yab allows fast prototyping with simple and clean code. yab contains a large number of BeAPI specific commands for GUI creation and much, much more. " HOMEPAGE="http://sourceforge.net/projects/yab-interpreter" -SRC_URI="git+https://github.com/bbjimmy/Yab.git" +SRC_URI="git+https://github.com/bbjimmy/Yab.git#f4dcf31ed252a098337994aa7f03ec63bf44d544" REVISION="2" LICENSE="Artistic" @@ -11,8 +11,8 @@ COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic) 2006-2009 Jan Bungeroth (yab improvements) 2013 Jim Saxton ( yab improvements)" -ARCHITECTURES="x86_gcc2 x86 !x86_64" -SECONDARY_ARCHITECTURE="!x86_64" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" + #SOURCE_DIR="yab_ide-$portVersion" @@ -22,8 +22,8 @@ PROVIDES=" REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion - ncurses >= 5.9 - yab >= 1.7.02 + lib:libncurses$secondaryArchSuffix + yab$secondaryArchSuffix >=1.7.02 devel:libncurses$secondaryArchSuffix devel:libz$secondaryArchSuffix "