1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/math/dislin/files/dislin.sh.in
Thierry Thomas ba10620125 Upgrade to 9.2 and unbreak.
Change log at <http://www.mps.mpg.de/dislin/news.html>

PR:		ports/117145
Submitted by:	Daniel Voisine <voisined (at) wit.edu>
2008-02-16 22:52:24 +00:00

23 lines
333 B
Bash

#!/bin/sh
#
# Wrapper script for DISLIN binaries.
#
# $FreeBSD$
#
DISLIN=%%DISLIN_DIR%%
export DISLIN
LD_LIBRARY_PATH=$DISLIN:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
self="${0##*/}"
program="${DISLIN}/bin/${self}"
if [ -x "${program}" ] ; then
exec "${program}" "$@"
else
echo "${self} does not seem to exist." 1>&2
exit 1
fi