1SUMMARY="A code editor" 2DESCRIPTION="Koder is a code editor for Haiku based on Scintilla editing \ 3component. It supports syntax highlighting for several programming languages \ 4and additional languages can be added by the user. It also features multiline \ 5editing, folding, brace highlighting, and some other things supported by \ 6Scintilla." 7HOMEPAGE="https://github.com/KapiX/Koder" 8COPYRIGHT="2016-2023 Kacper Kasper" 9LICENSE="MIT" 10REVISION="2" 11SOURCE_URI="https://github.com/KapiX/Koder/archive/$portVersion.tar.gz" 12CHECKSUM_SHA256="21c6961112ac2b38512617d72a22ec7d16b0d78b93e24bf1e516cda03a7c90d8" 13SOURCE_DIR="Koder-$portVersion" 14 15ARCHITECTURES="all !x86_gcc2" 16SECONDARY_ARCHITECTURES="x86" 17 18USER_SETTINGS_FILES=" 19 settings/Koder directory 20 " 21 22PROVIDES=" 23 koder$secondaryArchSuffix = $portVersion 24 app:Koder = $portVersion 25 " 26REQUIRES=" 27 haiku$secondaryArchSuffix 28 lib:libscintilla$secondaryArchSuffix >= 5 29 lib:liblexilla$secondaryArchSuffix 30 lib:libyaml_cpp$secondaryArchSuffix 31 " 32 33BUILD_REQUIRES=" 34 haiku${secondaryArchSuffix}_devel 35 devel:libscintilla$secondaryArchSuffix >= 5 36 devel:liblexilla$secondaryArchSuffix 37 devel:libyaml_cpp$secondaryArchSuffix 38 " 39BUILD_PREREQUIRES=" 40 makefile_engine 41 cmd:g++$secondaryArchSuffix 42 cmd:make 43 " 44 45BUILD() 46{ 47 make $jobArgs OBJ_DIR=objects 48 make bindcatalogs OBJ_DIR=objects 49} 50 51INSTALL() 52{ 53 mkdir -p $appsDir 54 cp -af objects/Koder $appsDir 55 56 mkdir -p $dataDir/Koder 57 cp -r data/* $dataDir/Koder 58 59 addAppDeskbarSymlink $appsDir/Koder 60} 61