Yab: fixes and cleanup

* Fix some typos
* Shorten summary
* Add deskbar symlink
* Symlink documentation instead of duplicating it.
This commit is contained in:
Adrien Destugues
2014-04-18 18:43:07 +02:00
parent 344990d2c7
commit 64780ffaeb
2 changed files with 19 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
SUMMARY="yab is an extended version of yabsic, a BASIC programming language"
SUMMARY="extended version of the yabsic programming language"
DESCRIPTION="
yab is an extended version of yabasic, a BASIC programming language, with \
special commands designed for Haiku.
@@ -13,15 +13,13 @@ LICENSE="Artistic"
COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic)
2006-2009 Jan Bungeroth (yab improvements)
2013 Jim Saxton ( yab improvements)"
2013 Jim Saxton (yab improvements)"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
#SOURCE_DIR="yab-$portVersion"
PROVIDES="
yab = $portVersion compat >=1.7.02
cmd:yab= $portVersion compat >=1.7.02
"
REQUIRES="
@@ -57,21 +55,13 @@ BUILD()
INSTALL()
{
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
mkdir -p $documentationDir
ln -s $appsDir/yab-IDE/Documentation $documentationDir/yab-1.7.02
}

View File

@@ -1,6 +1,10 @@
SUMMARY="Yab ide is an integrated development environment for yab. "
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 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#a5681d8a3403c142eae0ad416a59abd2aa7a28e4"
@@ -9,13 +13,10 @@ REVISION="2"
LICENSE="Artistic"
COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic)
2006-2009 Jan Bungeroth (yab improvements)
2013 Jim Saxton ( yab improvements)"
2013 Jim Saxton (yab improvements)"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
#SOURCE_DIR="yab_ide-$portVersion"
PROVIDES="
yab_ide$secondaryArchSuffix = $portVersion
"
@@ -23,7 +24,7 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libncurses$secondaryArchSuffix
yab$secondaryArchSuffix >=1.7.02
yab$secondaryArchSuffix >= 1.7.02
devel:libncurses$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
@@ -57,16 +58,20 @@ 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
pushd tmp/buildfactory
BuildFactory.yab yab-IDE yab-IDE.yab application/x-vnd.yab-IDE
cd ..
cd ..
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"
}