SUMMARY="A free source code editing component" DESCRIPTION="Scintilla is a free source code editing component. It comes with \ complete source code and a license that permits use in any free project or \ commercial product. As well as features found in standard text editing components, \ Scintilla includes features especially useful when editing and debugging \ source code. These include support for syntax styling, error indicators, code \ completion and call tips. The selection margin can contain markers like those \ used in debuggers to indicate breakpoints and the current line. Styling \ choices are more open than with many editors, allowing the use of \ proportional fonts, bold and italics, multiple foreground and background \ colours and multiple fonts." HOMEPAGE="https://scintilla.org" COPYRIGHT="1998-2023 Neil Hodgson" LICENSE="Scintilla" REVISION="2" SOURCE_URI="https://prdownloads.sf.net/scintilla/scintilla${portVersion//\./}.tgz" CHECKSUM_SHA256="3f01b1aef2b7e98f628af2cff965876f5d15ee2801d9df96dd3aced8f087cb46" SOURCE_DIR="scintilla" SOURCE_URI_2="https://prdownloads.sf.net/scintilla/scintillahaiku${portVersion//\./}.tgz" CHECKSUM_SHA256_2="9a4d46ebca064bc4484f1bc33e765774b2af669d61d4a26ddd4aa8cda1536c27" PATCHES="scintilla-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" scintilla$secondaryArchSuffix = $portVersion lib:libscintilla$secondaryArchSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" scintilla${secondaryArchSuffix}_devel = $portVersion devel:libscintilla$secondaryArchSuffix = $portVersion " REQUIRES_devel=" scintilla$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" makefile_engine cmd:ar cmd:g++$secondaryArchSuffix cmd:make " BUILD() { mkdir -p haiku cp -R $sourceDir2/haiku/ . cd haiku make $jobArgs } INSTALL() { INCLUDE_DIR=$includeDir/scintilla mkdir -p $libDir mkdir -p $INCLUDE_DIR cp -a bin/libscintilla.so $libDir/libscintilla.so cp include/ILoader.h $INCLUDE_DIR cp include/ILexer.h $INCLUDE_DIR cp include/Sci_Position.h $INCLUDE_DIR cp include/Scintilla.h $INCLUDE_DIR cp include/ScintillaCall.h $INCLUDE_DIR cp include/ScintillaMessages.h $INCLUDE_DIR cp include/ScintillaStructures.h $INCLUDE_DIR cp include/ScintillaTypes.h $INCLUDE_DIR cp haiku/ScintillaView.h $INCLUDE_DIR prepareInstalledDevelLibs libscintilla packageEntries devel $developDir }