From 051e6906bbf620476eafe970cf892750422b60d8 Mon Sep 17 00:00:00 2001 From: Owen Date: Tue, 9 Jan 2018 14:45:37 -0800 Subject: [PATCH] ProjectConceptor: create recipe (#2062) --- .../licenses/Open Tracker License | 31 +++++++++++ .../projectconceptor-0.1.0.recipe | 54 +++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 haiku-apps/projectconceptor/licenses/Open Tracker License create mode 100644 haiku-apps/projectconceptor/projectconceptor-0.1.0.recipe diff --git a/haiku-apps/projectconceptor/licenses/Open Tracker License b/haiku-apps/projectconceptor/licenses/Open Tracker License new file mode 100644 index 000000000..6992c78ac --- /dev/null +++ b/haiku-apps/projectconceptor/licenses/Open Tracker License @@ -0,0 +1,31 @@ +Open Tracker License + +Terms and Conditions + +Copyright (c) 1991-2000, Be Incorporated. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice applies to all licensees +and shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF TITLE, MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +BE INCORPORATED BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of Be Incorporated shall not be +used in advertising or otherwise to promote the sale, use or other dealings in +this Software without prior written authorization from Be Incorporated. + +Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks +of Be Incorporated in the United States and other countries. Other brand product +names are registered trademarks or trademarks of their respective holders. +All rights reserved. diff --git a/haiku-apps/projectconceptor/projectconceptor-0.1.0.recipe b/haiku-apps/projectconceptor/projectconceptor-0.1.0.recipe new file mode 100644 index 000000000..68b7e3422 --- /dev/null +++ b/haiku-apps/projectconceptor/projectconceptor-0.1.0.recipe @@ -0,0 +1,54 @@ +SUMMARY="A Haiku diagramming application like Microsoft Visio" +DESCRIPTION="ProjectConceptor is a modular application for Haiku and BeOS \ +designed to view, edit and process information which can be represented by a \ +graph structure." +APP="ProjectConceptor" +HOMEPAGE="https://github.com/Paradoxianer/$APP" +COPYRIGHT="2017 Matthias \“Paradoxer\” Lindner + 2000-2002 Lee Thomason + 1991-2000 Be Incorporated" +LICENSE="BSD (3-clause) + MIT + Open Tracker License + Zlib" +REVISION="1" +srcGitRev="8192c2e9f0c46d4dc316e20b2d3d6ecfe81110ba" +SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz" +CHECKSUM_SHA256="d76718776fe85d49a6c6137fff0189abff786c3402d2ec197d811391c016e6f2" +SOURCE_FILENAME="$APP-$portVersion-$srcGitRev.tar.gz" +SOURCE_DIR="$APP-$srcGitRev" + +ARCHITECTURES="x86_gcc2 !x86_64" + +PROVIDES=" + projectconceptor = $portVersion + app:$APP = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:find + cmd:g++ + cmd:make + " + +BUILD() +{ + make -C src OBJ_DIR=objects $jobArgs +} + +INSTALL() +{ + install -d $appsDir/$APP/Plugins + install src/app/$APP $appsDir/$APP + addAppDeskbarSymlink $appsDir/$APP/$APP + + cd src/plugins + install $(find * -mindepth 2 -type f -executable) $appsDir/$APP/Plugins +}