COMMIT/commit => srcGitRev.

* code style.
This commit is contained in:
Jerome Duval
2018-08-07 08:47:35 +02:00
parent ac17bd1be4
commit f67b534c07
59 changed files with 254 additions and 273 deletions

View File

@@ -2,22 +2,24 @@ SUMMARY="A dictionary for Haiku"
DESCRIPTION="This program is a BeOS port of KDictionary translation program \
for Linux by Ivan V. Murasko. It follows the main concept of original linux \
program but mainly is a real BeOS program."
HOMEPAGE="https://github.com/HaikuArchives/tolmach"
COPYRIGHT="1999 Ivan V. Murasko"
LICENSE="GNU GPL v2"
HOMEPAGE="https://github.com/HaikuArchives/tolmach"
COMMIT="bef06da57cf34e43a428f3e95855bd77a959cb1d"
SOURCE_URI="https://github.com/HaikuArchives/tolmach/archive/$COMMIT.tar.gz"
SOURCE_DIR="Tolmach-$COMMIT"
CHECKSUM_SHA256="d37169523cdfaa4acc0e8c67c97943e74d70767d08671574948a28553a1f17f2"
REVISION="2"
srcGitRev="bef06da57cf34e43a428f3e95855bd77a959cb1d"
SOURCE_URI="https://github.com/HaikuArchives/tolmach/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="d37169523cdfaa4acc0e8c67c97943e74d70767d08671574948a28553a1f17f2"
SOURCE_DIR="Tolmach-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
USER_SETTINGS_FILES="
settings/Tolmach_Preferences directory"
PROVIDES="
tolmach = $portVersion
app:Tolmach = $portVersion
"
REQUIRES="
haiku
"
@@ -25,16 +27,12 @@ REQUIRES="
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
USER_SETTINGS_FILES="
settings/Tolmach_Preferences directory"
BUILD()
{
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` OBJ_DIR=objects