mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 23:18:58 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
59 lines
1.9 KiB
Bash
59 lines
1.9 KiB
Bash
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="all !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
|
|
}
|