mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
* Add icon and app-signature * Remove unneeded pixmap (icon as png) * Builds under 64bit * Extended description with info from the website
84 lines
2.9 KiB
Bash
84 lines
2.9 KiB
Bash
SUMMARY="A cross platform IDE written in C++/Qt 4"
|
||
DESCRIPTION="MonkeyStudio's primary goal was to be a Qt 4 only IDE, but it \
|
||
evolved to be a way to support any kind of project. It supports Qt 4 \
|
||
project management and embeds Designer and Assistant to form a complete, \
|
||
fast and powerful Qt-based IDE. It's based upon a flexible plugin system \
|
||
that allows extending it in a near-infinite manner.
|
||
|
||
Among MonkeyStudio's features:
|
||
|
||
- Advanced, customizable code editor, based on QScintilla.
|
||
- Syntax highlighting for more than 22 programming languages.
|
||
- Automatic detection of End Of Line mode (∕n, ∕r∕n). You can work with \
|
||
files that have Windows/Unix EOL symbols at the same time and save its \
|
||
original mode.
|
||
- Automatic detection of indentation mode. Choose your preferred mode, or \
|
||
activate automatic detection to save the original indentation of your files.
|
||
- Templates wizard allows you to create files or projects from templates, \
|
||
provided by the MkS Team, or from your own templates.
|
||
- With code restyling you can quickly fix/update the style of your code \
|
||
using embedded AStyle code beautifier.
|
||
- Automatic completion based on contents of the current file, or on .api \
|
||
files for your language/libraries if available.
|
||
- Search and replace engine allows you to search and replace text in the \
|
||
current file, or in a directory.
|
||
- Navigator shows a list of classes, methods, functions, variables... in \
|
||
the file and allows you to jump to the line in the code where the object \
|
||
is located. Navigation based on Exuberant Ctags supports 31 programming \
|
||
languages."
|
||
HOMEPAGE="http://www.monkeystudio.org"
|
||
COPYRIGHT="2005-2012 Azevedo Filipe & The Monkey Studio Team"
|
||
LICENSE="GNU GPL v2"
|
||
REVISION="2"
|
||
SOURCE_URI="http://monkeystudio.googlecode.com/files/mks_1.9.0.4-src.tar.gz"
|
||
CHECKSUM_SHA256="cfd3517ac6d4a5d8ffdf7ec9995a624b6cef13aa00163e46a9b54b1f52164ffd"
|
||
SOURCE_DIR="mks_$portVersion-src"
|
||
PATCHES="monkeystudio-$portVersion.patch"
|
||
ADDITIONAL_FILES="monkeystudio.rdef"
|
||
|
||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||
SECONDARY_ARCHITECTURES="x86"
|
||
|
||
PROVIDES="
|
||
monkeystudio${secondaryArchSuffix} = $portVersion
|
||
app:MonkeyStudio${secondaryArchSuffix} = $portVersion
|
||
"
|
||
REQUIRES="
|
||
haiku${secondaryArchSuffix}
|
||
libqt4${secondaryArchSuffix} >= 4.8.0
|
||
"
|
||
|
||
BUILD_REQUIRES="
|
||
haiku${secondaryArchSuffix}_devel
|
||
libqt4${secondaryArchSuffix}_devel >= 4.8.0
|
||
"
|
||
BUILD_PREREQUIRES="
|
||
cmd:qmake${secondaryArchSuffix}
|
||
cmd:make
|
||
cmd:g++${secondaryArchSuffix}
|
||
"
|
||
|
||
BUILD()
|
||
{
|
||
qmake -set SYSTEM_QSCINTILLA 0
|
||
qmake -r prefix=$appsDir/MonkeyStudio
|
||
make $jobArgs
|
||
}
|
||
|
||
INSTALL()
|
||
{
|
||
monkeyDir=$appsDir/MonkeyStudio
|
||
mkdir -p $monkeyDir
|
||
make install
|
||
|
||
addResourcesToBinaries $portDir/additional-files/monkeystudio.rdef \
|
||
$monkeyDir/bin/monkeystudio
|
||
mv $monkeyDir/bin/monkeystudio $monkeyDir/bin/MonkeyStudio
|
||
|
||
rm -rf $monkeyDir/share/applications
|
||
rm -rf $monkeyDir/share/doc
|
||
rm -rf $monkeyDir/share/pixmaps
|
||
|
||
addAppDeskbarSymlink $monkeyDir/bin/MonkeyStudio
|
||
}
|