YAB 1.7.4.4, yab-IDE 2.2.4.2

This commit is contained in:
Jim
2015-04-13 22:51:25 -07:00
parent ab66cc8ff6
commit 1424d27027
4 changed files with 36 additions and 207 deletions

View File

@@ -3,9 +3,10 @@ DESCRIPTION="
yab is an extended version of yabasic, a BASIC programming language, with \
special commands designed for Haiku.
"
HOMEPAGE="https://github.com/bbjimmy/Yab"
SRC_URI="https://github.com/bbjimmy/Yab/archive/yab1.7.4.tar.gz"
CHECKSUM_SHA256="c757e7382006e7c266082c75d4aeefa951ed84a1ad64e97180e886cdda7f859a"
HOMEPAGE="http://fatelk.com/yab"
SRC_URI="https://github.com/bbjimmy/YAB/archive/1.7.4.4.tar.gz"
CHECKSUM_SHA256="601a464731e510e0658028be7bfe4b344a5953e6c2490e99e05b604645e0ea58"
REVISION="1"
LICENSE="Artistic"
@@ -16,18 +17,16 @@ COPYRIGHT="
"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
yab = $portVersion compat >= 1.7
cmd:yab= $portVersion compat >= 1.7
yab = $portVersion
cmd:yab= $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:bison
@@ -35,10 +34,9 @@ BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:mkdepend
cmd:unzip
cmd:resattr
"
SOURCE_DIR="Yab-yab1.7.4"
SOURCE_DIR=YAB-1.7.4.4
BUILD()
{
@@ -46,19 +44,16 @@ BUILD()
cp -r src/* tmp
cd tmp
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
unzip -o App_YAB.zip
copyattr App_YAB yab
fixattributes.sh
}
INSTALL()
{
mkdir -p $binDir
cp tmp/yab $binDir/
mkdir -p $appsDir/yab-IDE
cp -r src $appsDir/yab-IDE/src
cp -r Documentation $appsDir/yab-IDE/Documentation
mkdir -p $documentationDir
ln -s $appsDir/yab-IDE/Documentation $documentationDir/yab-1.7.4
ln -s $appsDir/yab-IDE/Documentation $documentationDir/yab-1.7.4.4
}

View File

@@ -1,78 +0,0 @@
SUMMARY="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.
yab wouldn't be complete without the yab-IDE, a powerful development \
environment, which of course is programmed in yab itself.
"
HOMEPAGE="http://sourceforge.net/projects/yab-interpreter"
SRC_URI="git+https://github.com/HaikuArchives/Yab.git#4014a60fd7f9bb786d1cf52e11483dee2d2f4d00"
REVISION="1"
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"
PROVIDES="
yab_ide$secondaryArchSuffix = $portVersion
app:yab_IDE = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
yab$secondaryArchSuffix >= 1.7.02
devel:libncurses$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
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/
pushd tmp/buildfactory
BuildFactory.yab yab-IDE yab-IDE.yab application/x-vnd.yab-IDE
popd
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/
addAppDeskbarSymlink $appsDir/yab-IDE/yab-IDE "Yab IDE"
}

View File

@@ -1,83 +0,0 @@
SUMMARY="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.
yab wouldn't be complete without the yab-IDE, a powerful development \
environment, which of course is programmed in yab itself.
"
HOMEPAGE="http://sourceforge.net/projects/yab-interpreter"
SRC_URI="https://github.com/HaikuArchives/Yab/archive/v1.7.3.tar.gz"
CHECKSUM_SIZE="1176449"
CHECKSUM_RMD160="f62fa02a585d9f6c5ee3eb9b781a06083352bd6f"
CHECKSUM_SHA512="a74edcf9718ee9a13a16ab0a99fbbed3cceebf1ea4bfac714b098d51531de7fdd0738e126b9a2e5d2f8d84fd0c153d9b7702e806cc91c6a97537dda11411e915"
SOURCE_DIR="Yab-1.7.3"
REVISION="1"
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"
PROVIDES="
yab_ide$secondaryArchSuffix = $portVersion
app:yab_IDE = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
yab$secondaryArchSuffix >= 1.7.02
devel:libncurses$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
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
cd ../yab-IDE/BuildFactory
gcc -o yab-compress yab-compress.c -lz
}
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/
pushd tmp/buildfactory
BuildFactory.yab yab-IDE yab-IDE.yab application/x-vnd.yab-IDE
popd
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/
addAppDeskbarSymlink $appsDir/yab-IDE/yab-IDE "Yab IDE"
}

View File

@@ -6,16 +6,16 @@ number of BeAPI specific commands for GUI creation and much, much more.
yab wouldn't be complete without the yab-IDE, a powerful development \
environment, which of course is programmed in yab itself.
"
HOMEPAGE="https://github.com/bbjimmy/Yab"
SRC_URI="https://github.com/bbjimmy/Yab/archive/yab_ide2.2.4.tar.gz"
CHECKSUM_SHA256="4be806c0daae4f842e9232a1af9ceb5ae8c9a83b9c9ab44cddf1f70e29ec0e32"
HOMEPAGE="http://fatelk.com/yab"
SRC_URI="https://github.com/bbjimmy/YAB/archive/1.7.4.4.tar.gz"
CHECKSUM_SHA256="601a464731e510e0658028be7bfe4b344a5953e6c2490e99e05b604645e0ea58"
REVISION="2"
REVISION="1"
LICENSE="Artistic"
COPYRIGHT="
1995-2006 Marc-Oliver Ihm (yabasic)
2006-2009 Jan Bungeroth (yab improvements)
2013 Jim Saxton (yab improvements)
1995-2006 Marc-Oliver Ihm (yabasic)
2006-2009 Jan Bungeroth (yab improvements)
2013-2015 Jim Saxton (yab improvements)
"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
@@ -26,15 +26,12 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
lib:libz$secondaryArchSuffix
yab$secondaryArchSuffix >= 1.7.4
devel:libncurses$secondaryArchSuffix
yab$secondaryArchSuffix >= 1.7.4.4
devel:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libncurses$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
@@ -43,39 +40,37 @@ BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:mkdepend
cmd:unzip
cmd:resattr
"
SOURCE_DIR="Yab-yab_ide2.2.4"
SOURCE_DIR=YAB-1.7.4.4
BUILD()
{
cd src
pushd src
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
unzip -o App_YAB.zip
copyattr App_YAB yab
cd ../yab-IDE/BuildFactory
fixattributes.sh
popd
pushd yab-IDE/BuildFactory
gcc -o yab-compress yab-compress.c -lz
popd
mkdir -p tmp/buildfactory
cp -r src/* tmp/buildfactory
cp -r yab-IDE/BuildFactory/* tmp/buildfactory/
cp yab-IDE/src/yab-IDE.yab tmp/buildfactory/
pushd tmp/buildfactory
rm flex.c
BuildFactory.yab yab-IDE yab-IDE.yab application/x-vnd.yab-IDE
RdefApply parts/YAB-IDE.bf.rdef yab-IDE
addattr -t mime BEOS:TYPE application/x-vnd.be-elfexecutable yab-IDE
popd
}
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/
pushd tmp/buildfactory
BuildFactory.yab yab-IDE yab-IDE.yab application/x-vnd.yab-IDE
popd
mkdir -p $appsDir
cp -r yab-IDE/ $appsDir/
cp tmp/buildfactory/yab-IDE $appsDir/yab-IDE/
setversion $appsDir/yab-IDE/yab-IDE -app 2 2 4 g 0 -short "yab IDE" -long "An integrated development environment for yab"
cp yab-IDE/src/yab-IDE.yab $appsDir/yab-IDE/src/
addAppDeskbarSymlink $appsDir/yab-IDE/yab-IDE "Yab IDE"
}