mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
50 lines
1.2 KiB
Bash
50 lines
1.2 KiB
Bash
SUMMARY="A tool to translate catkeys used to localize Haiku apps"
|
|
DESCRIPTION="With CatKeysEditor you can translate the plain text catalog files \
|
|
used to localize Haiku applications.
|
|
|
|
Simply get the 'en.catkeys' of the application to be localized and rename it \
|
|
using the standard two-letter language code of your target, e.g. 'fr.catkeys'. \
|
|
Then open it with CatKeysEditor and start translating.
|
|
When you're done, you have to recompile the app making use of the new catkeys."
|
|
HOMEPAGE="https://github.com/puckipedia/BeLocalized"
|
|
COPYRIGHT="2014-2015 Puck Meerburg"
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
srcGitRev="989904ff0181147e5fe7e205096f09e1cc4d8bdd"
|
|
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="894eab6f25b6f67afadea018b4ab9508af927cc7ddd349b4a924bc3ba832b6f6"
|
|
SOURCE_DIR="BeLocalized-$srcGitRev"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
catkeyseditor = $portVersion
|
|
app:CatKeysEditor = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd CatKeysEditor
|
|
make $jobArgs OBJ_DIR=objects
|
|
make bindcatalogs OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp -a CatKeysEditor/objects/CatKeysEditor $appsDir
|
|
addAppDeskbarSymlink $appsDir/CatKeysEditor
|
|
}
|