0
0
Fork 0
haikuports/haiku-apps/projectconceptor/projectconceptor-0.1.1.recipe

90 lines
2.4 KiB
Bash

SUMMARY="A basic graph application"
DESCRIPTION="ProjectConceptor is a modular application designed to view, edit \
and process information which can be represented by a graph structure.
It is still alpha stage - so be aware of bugs.
You can create nodes, name them and add attributes:
* Different nodes can be freely connected, all with full undo and redo support.
* Recording of macros is supported.
* Two different views to edit the nodes or connections are available at the \
moment."
APP="ProjectConceptor"
HOMEPAGE="https://github.com/Paradoxianer/$APP"
COPYRIGHT="1991-2000 Be Incorporated
2000-2002 Lee Thomason
2019 Matthias \“Paradoxianer\” Lindner"
LICENSE="BSD (3-clause)
MIT
Open Tracker License
Zlib"
REVISION="1"
srcGitRev="319bea5783617e5c63cc954a6ecb45dc46281bc5"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="50b49bee3a825d8addabdf3b03c34362ad97e3f613c8ce73e750cf45ec915410"
SOURCE_FILENAME="$APP-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="$APP-$srcGitRev"
ARCHITECTURES="all ?x86"
PROVIDES="
projectconceptor = $portVersion
app:$APP = $portVersion
addon:FreeMindTranslator = $portVersion
addon:ProjectConceptorTranslator = $portVersion
"
REQUIRES="
haiku
lib:libtinyxml
"
BUILD_REQUIRES="
haiku_devel
devel:libtinyxml
"
BUILD_PREREQUIRES="
makefile_engine
cmd:find
cmd:g++
cmd:make
"
defineDebugInfoPackage projectconceptor \
$appsDir/$APP/Plugins/AddAttribute \
$appsDir/$APP/Plugins/ChangeValue \
$appsDir/$APP/Plugins/Copy \
$appsDir/$APP/Plugins/Delete \
$appsDir/$APP/Plugins/Find \
$appsDir/$APP/Plugins/GraphEditor \
$appsDir/$APP/Plugins/Group \
$appsDir/$APP/Plugins/Insert \
$appsDir/$APP/Plugins/Move \
$appsDir/$APP/Plugins/NavigatorEditor \
$appsDir/$APP/Plugins/Paste \
$appsDir/$APP/Plugins/RemoveAttribute \
$appsDir/$APP/Plugins/Resize \
$appsDir/$APP/Plugins/Select \
$appsDir/$APP/ProjectConceptor \
$addOnsDir/Translators/FreeMindTranslator \
$addOnsDir/Translators/ProjectConceptorTranslator
BUILD()
{
make -C src OBJ_DIR=objects app plugins translators
}
INSTALL()
{
mkdir -p $addOnsDir/Translators
install -d $appsDir/$APP/Plugins
install -d $addOnsDir/Translators
install src/app/$APP $appsDir/$APP
addAppDeskbarSymlink $appsDir/$APP/$APP
cd src/plugins
install $(find * -mindepth 2 -type f -executable) $appsDir/$APP/Plugins
cd ../../src/translators
install $(find * -mindepth 2 -type f -executable) $addOnsDir/Translators
}