Tolmach: style fixes

This commit is contained in:
Sergei Reznikov
2014-12-23 11:36:29 +03:00
parent 7d11e013cd
commit fe6045b28b

View File

@@ -9,48 +9,44 @@ LICENSE="GNU GPL v2"
HOMEPAGE="https://gitorious.org/desknotes/tolmach"
SRC_URI="git+http://github.com/haikuarchives/tolmach.git#5a67e9d38292d5dd482e116e8ee7aa605dee5398"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
tolmach = $portVersion
app:Tolmach = $portVersion
lib:libfSub
"
tolmach = $portVersion
app:Tolmach = $portVersion
lib:libfSub
"
REQUIRES="
haiku
"
haiku
"
BUILD_REQUIRES="
haiku_devel
"
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend
"
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend
"
USER_SETTINGS_FILES="
settings/Tolmach_Preferences directory"
settings/Tolmach_Preferences directory"
BUILD()
{
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` OBJ_DIR=objects
}
INSTALL()
{
architecture=`echo $buildArchitecture | sed 's/_/-/g'`
mkdir -p $appsDir/Tolmach $dataDir/Tolmach
cd objects.$architecture-release
cp Tolmach $appsDir/Tolmach
addAppDeskbarSymlink $appsDir/Tolmach/Tolmach
cd ../Dictionaries
cp *.pgb $dataDir/Tolmach
}
mkdir -p $appsDir $dataDir/Tolmach
cp objects/Tolmach $appsDir
cp Dictionaries/*.pgb $dataDir/Tolmach
addAppDeskbarSymlink $appsDir/Tolmach/Tolmach
}