home *** CD-ROM | disk | FTP | other *** search
- ; This is the script to install TSMorph
- ; $VER: TSMorph-Install 1.2 (15.5.93)
-
- (set InstallDir
- (askdir
- (prompt "Where do you want to install TSMorph 1.2?")
- (help @askdir-help)
- (default "Work:")
- )
- )
-
- (Set DestDir
- (tackon InstallDir "TSMorph")
- )
-
- (Set RexxDir
- (tackon DestDir "Rexx")
- )
-
- (set @default-dest
- DestDir
- )
-
- (makedir
- DestDir
- (infos)
- )
-
- (Set Use040
- (=
- (database
- "cpu"
- )
- 68040
- )
- )
-
- (set Use881
- (askbool
- (prompt "Install 68020/030/68881/2/68040 version")
- (help "There are two versions of the TSMorph-render program. "
- "One requires both a 68020 or 68030 CPU with a 68881 or 68882 FPU or a 68040. "
- "The other should run on any processor.")
- (default Use040)
- )
- )
-
- (if Use881
- (
- (copyfiles
- (prompt "Copying TSMorph program and data files")
- (help @copyfiles-help)
- (source "")
- (dest DestDir)
- (choices "TSMorph" "TSMorph-render.881" "TSMorph.guide")
- (infos)
- (confirm)
- )
- (rename (tackon DestDir "TSMorph-render.881")
- (tackon DestDir "TSMorph-render")
- )
- (rename (tackon DestDir "TSMorph-render.881.info")
- (tackon DestDir "TSMorph-render.info")
- )
- )
- (copyfiles
- (prompt "Copying TSMorph program and data files")
- (help @copyfiles-help)
- (source "")
- (dest DestDir)
- (choices "TSMorph" "TSMorph-render" "TSMorph.guide")
- (infos)
- (confirm)
- )
- )
-
- (makedir
- RexxDir
- (infos)
- )
-
- (copyfiles
- (prompt "Copying example Rexx scripts")
- (help @copyfiles-help)
- (source "Rexx")
- (dest RexxDir)
- (all)
- (infos)
- (confirm)
- )
-
- (makedir "ENVARC:TSMorph")
-
- (copyfiles
- (prompt "Copying Icon to ENVARC:")
- (help @copyfiles-help)
- (source "")
- (dest "ENVARC:TSmorph")
- (choices "ENV/TSMorph/def_points.info")
- (confirm)
- )
-
- (makedir "ENV:TSMorph")
-
- (copyfiles
- (prompt "Copying Icon to ENV:")
- (help @copyfiles-help)
- (source "")
- (dest "ENV:TSmorph")
- (choices "ENV/TSMorph/def_points.info")
- (confirm)
- )
-
- (startup "TSMorph"
- (prompt "Adding assign TSMorph: to " DestDir " in s:user-startup")
- (help @startup-help)
- (command "Assign TSMorph: " DestDir)
- )
-
- (makeassign "TSMorph" DestDir)
-