mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 15:50:07 +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.
60 lines
1.4 KiB
Bash
60 lines
1.4 KiB
Bash
SUMMARY="A code editor"
|
|
DESCRIPTION="Koder is a code editor for Haiku based on Scintilla editing \
|
|
component. It supports syntax highlighting for several programming languages \
|
|
and additional languages can be added by the user. It also features multiline \
|
|
editing, folding, brace highlighting, and some other things supported by \
|
|
Scintilla."
|
|
HOMEPAGE="https://github.com/KapiX/Koder"
|
|
COPYRIGHT="2016-2020 Kacper Kasper"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KapiX/Koder/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="8dbbf9fc73e0e8ad461e702b793a72c009b9098752bc36c70e374100db4fb1eb"
|
|
SOURCE_DIR="Koder-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
USER_SETTINGS_FILES="
|
|
settings/Koder directory
|
|
"
|
|
|
|
PROVIDES="
|
|
koder$secondaryArchSuffix = $portVersion
|
|
app:Koder = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
scintilla${secondaryArchSuffix}_lexers
|
|
lib:libscintilla$secondaryArchSuffix
|
|
lib:libyaml_cpp$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libscintilla$secondaryArchSuffix
|
|
devel:libyaml_cpp$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs OBJ_DIR=objects
|
|
make bindcatalogs OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp -af objects/Koder $appsDir
|
|
|
|
mkdir -p $dataDir/Koder
|
|
cp -r data/* $dataDir/Koder
|
|
|
|
addAppDeskbarSymlink $appsDir/Koder
|
|
}
|