mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 15:21:51 -04:00
Notes: - I have (not yet) succeeded to enable MFront in this version; - it uses math/mumps-edf, repocopied from math/mumps; - cad/scotch is now taken out of the aster tarball; - french/eficas is no more used: to be replaced by "aster-study" in Salome_Meca (the port cad/salome should be resurrected!)
26 lines
707 B
Text
26 lines
707 B
Text
--- bin/bsf.orig 2017-07-13 07:40:52 UTC
|
|
+++ bin/bsf
|
|
@@ -17,15 +17,11 @@
|
|
# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
|
|
# ==============================================================================
|
|
|
|
-set_prefix() {
|
|
- local this=`readlink -n -f "$1"`
|
|
- local bin=`dirname "${this}"`
|
|
- prefix=`dirname "${bin}"`
|
|
-}
|
|
+prefix=%%inst_dir%%/ASTK_CLIENT
|
|
|
|
set_prefix "$0"
|
|
|
|
-ASTER_ROOT="${prefix}"
|
|
+ASTER_ROOT="?ASTER_ROOT?"
|
|
export ASTER_ROOT
|
|
|
|
if [ -z "${ASTER_ETC}" ]; then
|
|
@@ -46,4 +42,4 @@ if [ -z "${WISHEXECUTABLE}" ]; then
|
|
WISHEXECUTABLE=wish
|
|
fi
|
|
|
|
-"${WISHEXECUTABLE}" "${ASTER_ROOT}"/lib/astk/bsf.tcl -- "${@}" &
|
|
+"${WISHEXECUTABLE}" $prefix/lib/bsf.tcl -- "${@}" &
|