1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/cad/z88/files/z88.sh
Martin Wilke ab73c91604 - Update to 13.0
PR:		143066
Submitted by:	"Pedro F. Giffuni" <giffunip@tutopia.com>
2010-02-08 15:03:19 +00:00

53 lines
1.3 KiB
Bash

#!/bin/sh
# This script checks for the existence of the three very important Z88
# parameter files z88.fcd, z88.dyn and z88i4.txt and launches the
# Z88 commander
# This file was taken from the Z88 RPM distribution
if ! test -f z88.dyn
then
cp %%PREFIX%%/share/z88/z88.dyn .
fi
if ! test -f z88.fcd
then
cp %%PREFIX%%/share/z88/z88.fcd .
fi
if ! test -f z88i4.txt
then
cp %%PREFIX%%/share/z88/z88i4.txt .
fi
if ! test -f z88i1.txt
then
if ! test -f z88ni.txt
then
if ! test -f z88x.dxf
then
if ! test -f z88g.cos
then
cp %%PREFIX%%/share/z88/b1_x.dxf z88x.dxf
cp %%PREFIX%%/share/z88/b1_2.txt z88i2.txt
cp %%PREFIX%%/share/z88/b1_3.txt z88i3.txt
echo "First Z88 example loaded"
else
echo "A Z88 input file z88g.cos exists"
fi
else
echo "A Z88 input file z88x.dxf exists"
fi
else
echo "A Z88 input file z88ni.txt exists"
fi
else
echo "A Z88 input file z88i1.txt exists"
fi
echo "For further information consult"
echo "%%PREFIX%%/z88/README or"
echo "%%PREFIX%%/doc/z88/z88mane.pdf (English)"
echo "*** Starting the Z88 Finite Elements Analysis system ***"
z88com