mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
Already fixed in trunk, but next Koder version 0.40 will take a while longer to be released, according to KapiX. Also added lib:libscintilla$secondaryArchSuffix to REQUIRES as haikuporter complains about that.
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-2018 Kacper Kasper"
|
|
LICENSE="MIT"
|
|
REVISION="3"
|
|
SOURCE_URI="https://github.com/KapiX/Koder/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="97b5eebac0366d428bef7e69262557775de47a385195358db1d432f3bb78d465"
|
|
SOURCE_DIR="Koder-$portVersion"
|
|
PATCHES="koder-0.3.0.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
USER_SETTINGS_FILES="
|
|
settings/Koder directory
|
|
"
|
|
|
|
PROVIDES="
|
|
koder$secondaryArchSuffix = $portVersion
|
|
app:Koder = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
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
|
|
}
|