From 1eabfbfa0df32e2f2d6b2f8e71fb516ccc812672 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 22 Feb 2006 06:13:22 +0000 Subject: updated to use Wish.app for TclTk 8.4.10 svn path=/trunk/; revision=4607 --- packages/darwin_app/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile index c06309c4..f2440674 100644 --- a/packages/darwin_app/Makefile +++ b/packages/darwin_app/Makefile @@ -21,7 +21,10 @@ BUILDLAYOUT_DIR = $(CWD)/.. # and mount it. The files will be copied from the mounted .dmg image. #WISH = /Applications/Utilities/Wish\ Shell.app TCLTK := $(shell /bin/ls -1r TclTkAquaStandalone-8.?.*.dmg|head -1|sed 's/\.dmg//') -WISH_NAME = Wish\ Shell +# Tcl/Tk < 8.4.10 +#WISH_NAME = Wish\ Shell +# Tcl/Tk >= 8.4.10 +WISH_NAME = Wish WISH = /Volumes/$(TCLTK)/$(WISH_NAME).app WISH_CONTENTS = $(WISH)/Contents @@ -103,7 +106,7 @@ darwin_app_wrapper: Info.plist install -d "$(PD_APP_CONTENTS)/Resources/Scripts" install -m0644 -p Info.plist "$(PD_APP_CONTENTS)" install -m0644 -p *.icns "$(PD_APP_CONTENTS)/Resources" - mv "$(PD_APP_CONTENTS)/MacOS/Wish Shell" \ + mv "$(PD_APP_CONTENTS)/MacOS/${WISH_NAME}" \ "$(PD_APP_CONTENTS)/MacOS/Pd" # diskutil eject /Volumes/$(TCLTK) -- cgit v1.2.1