mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 13:20:08 +02:00
58 lines
1.4 KiB
Bash
58 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-2017 Kacper Kasper"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KapiX/Koder/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="fe09d71711ac55fb2765e55c0334db6e5a56a174c5d169307f757f7d4dc47526"
|
|
SOURCE_DIR="Koder-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
koder$secondaryArchSuffix = $portVersion
|
|
app:Koder = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libyaml_cpp$secondaryArchSuffix >= 0.5
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libyaml_cpp$secondaryArchSuffix >= 0.5
|
|
devel:libscintilla$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
USER_SETTINGS_FILES="
|
|
settings/Koder directory
|
|
"
|
|
|
|
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
|
|
}
|