From c7f1e1ff3decc75f5c0dde44e422ed0893111e02 Mon Sep 17 00:00:00 2001 From: iam-git <58433184+iam-git@users.noreply.github.com> Date: Sun, 6 Dec 2020 14:59:46 +0100 Subject: [PATCH] Frame3DD: new recipe (#5317) --- app-misc/frame3dd/frame3dd-0.20140514p.recipe | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 app-misc/frame3dd/frame3dd-0.20140514p.recipe diff --git a/app-misc/frame3dd/frame3dd-0.20140514p.recipe b/app-misc/frame3dd/frame3dd-0.20140514p.recipe new file mode 100644 index 000000000..52464f063 --- /dev/null +++ b/app-misc/frame3dd/frame3dd-0.20140514p.recipe @@ -0,0 +1,58 @@ +SUMMARY="A program for structural analysis of 2D and 3D frames and trusses" +DESCRIPTION="Frame3DD is free open-source software for static and dynamic \ +structural analysis of 2D and 3D frames and trusses with elastic and geometric \ +stiffness. It computes the static deflections, reactions, internal element \ +forces, natural frequencies, mode shapes and modal participation factors \ +of two- and three- dimensional elastic structures using direct stiffness \ +and mass assembly. Frame3DD has its own text-file input format (.3dd), \ +but additionally supports matlab (.m) and spreadsheet (.csv) file formats, \ +and offers graphical output including mode shape animation via Gnuplot." +HOMEPAGE="http://frame3dd.sourceforge.net/" +COPYRIGHT="1992-2014 Henri P. Gavin." +LICENSE="GNU GPL v3" +REVISION="1" +SOURCE_URI="https://downloads.sourceforge.net/frame3dd/Frame3DD_20140514%2B.zip" +CHECKSUM_SHA256="473b37eabba43662c1eb37ada54dcd1db433c83a29d4ce798ac4980a046b8a6e" +SOURCE_DIR="Frame3DD" + +ARCHITECTURES="x86_64 !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + + +PROVIDES=" + frame3dd$secondaryArchSuffix = $portVersion + cmd:frame3dd$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + cd $sourceDir/src + # there is no configure script, only prepared makefile + make $jobArgs +} + +INSTALL() +{ + # no configure - no make install + mkdir -p $binDir + mkdir -p $documentationDir/packages/$portName/ + mkdir -p $dataDir/frame3dd + install -m 755 -T $sourceDir/src/frame3dd $binDir/frame3dd + cp -r $sourceDir/doc/* $documentationDir/packages/$portName/ + cp -r $sourceDir/matlab $dataDir/frame3dd/ + cp -r $sourceDir/examples $dataDir/frame3dd/ + install -m 644 -t $dataDir/frame3dd $sourceDir/README.txt \ + $sourceDir/LICENSE.txt $sourceDir/ChangeLog.txt +}