aboutsummaryrefslogtreecommitdiff
path: root/packages/darwin_app/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-28 06:34:36 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-28 06:34:36 +0000
commitfe60a6accd37f060bfc96a6248560c66f2da9f1f (patch)
treef853bee7ec50e9da98b244a7437187123252ec2b /packages/darwin_app/Makefile
parent21531c5f1b432e67b5c872bb70060193c0d64587 (diff)
another attempt to make the Tcl/Tk Frameworks embed properly
svn path=/trunk/; revision=6480
Diffstat (limited to 'packages/darwin_app/Makefile')
-rw-r--r--packages/darwin_app/Makefile27
1 files changed, 8 insertions, 19 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile
index a1079a7a..6fce0fee 100644
--- a/packages/darwin_app/Makefile
+++ b/packages/darwin_app/Makefile
@@ -101,27 +101,16 @@ darwin_app_wrapper: Info.plist
install -m0644 -p \
"$(WISH_CONTENTS)/Resources/$(WISH_NAME).rsrc" \
"$(PD_APP_CONTENTS)/Resources"
-# Tcl
- install -d $(PD_APP_CONTENTS)/Frameworks
- install -d $(PD_APP_CONTENTS)/Frameworks/Tcl.framework
- install -p $(WISH_FRAMEWORKS_SOURCE)/Tcl.framework/Versions/Current/Tcl \
+# embed Tcl/Tk Frameworks and remove cruft
+ install -d $(PD_APP_CONTENTS)/Frameworks \
+ $(PD_APP_CONTENTS)/Frameworks/Tcl.framework \
+ $(PD_APP_CONTENTS)/Frameworks/Tk.framework
+ ditto $(WISH_FRAMEWORKS_SOURCE)/Tcl.framework \
$(PD_APP_CONTENTS)/Frameworks/Tcl.framework/
- install -d $(PD_APP_CONTENTS)/Frameworks/Tcl.framework/Resources
- install -p $(WISH_FRAMEWORKS_SOURCE)/Tcl.framework/Resources/Info.plist \
- $(PD_APP_CONTENTS)/Frameworks/Tcl.framework/Resources/
- ditto $(WISH_FRAMEWORKS_SOURCE)/Tcl.framework/Resources/Scripts \
- $(PD_APP_CONTENTS)/Frameworks/Tcl.framework/Resources/
-# Tk
- install -d $(PD_APP_CONTENTS)/Frameworks
- install -d $(PD_APP_CONTENTS)/Frameworks/Tk.framework
- install -p $(WISH_FRAMEWORKS_SOURCE)/Tk.framework/Versions/Current/Tk \
+ ditto $(WISH_FRAMEWORKS_SOURCE)/Tk.framework \
$(PD_APP_CONTENTS)/Frameworks/Tk.framework/
- install -d $(PD_APP_CONTENTS)/Frameworks/Tk.framework/Resources
- install -p $(WISH_FRAMEWORKS_SOURCE)/Tk.framework/Resources/Info.plist \
- $(WISH_FRAMEWORKS_SOURCE)/Tk.framework/Resources/Tk.rsrc \
- $(PD_APP_CONTENTS)/Frameworks/Tk.framework/Resources/
- ditto $(WISH_FRAMEWORKS_SOURCE)/Tk.framework/Resources/Scripts \
- $(PD_APP_CONTENTS)/Frameworks/Tk.framework/Resources/
+ rm -rf $(PD_APP_CONTENTS)/Frameworks/Tcl.framework/{,/Versions/8.4}/{Headers,PrivateHeaders,*_debug,lib*.a,*Config.sh} && \
+ rm -rf $(PD_APP_CONTENTS)/Frameworks/Tk.framework/{,/Versions/8.4}/{Headers,PrivateHeaders,*_debug,lib*.a,*Config.sh}
# from http://tktoolkit.cvs.sourceforge.net/tktoolkit/tk/macosx/GNUmakefile
fix_install_id ( ) { \
chmod -R a+w "$$1"; \