46986d9c25
[incr Widgets] is an object-oriented mega-widget set which extends Tcl/Tk and is based on [incr Tcl] and [incr Tk]. This set of mega-widgets delivers many new, general purpose widgets like option menus, comboboxes, selection boxes, and various dialogs whose couterparts are found in Motif and Windows. from nikns at secure.lv
71 lines
2.9 KiB
Plaintext
71 lines
2.9 KiB
Plaintext
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2006/10/28 20:38:25 steven Exp $
|
|
--- Makefile.in.orig Tue Sep 10 23:27:21 2002
|
|
+++ Makefile.in Sat Oct 28 22:16:08 2006
|
|
@@ -39,7 +39,8 @@ bindir = @bindir@
|
|
INSTALL_ROOT =
|
|
|
|
# Path name to use when installing library scripts:
|
|
-SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/lib/iwidgets$(IWIDGETS_VERSION)
|
|
+SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/lib/iwidgets
|
|
+DEMOS_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/share/examples/iwidgets
|
|
|
|
# Directory in which to install the archive libtcl.a:
|
|
LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib
|
|
@@ -78,11 +79,11 @@ SHELL = /bin/sh
|
|
# modify any of this stuff by hand.
|
|
#----------------------------------------------------------------
|
|
|
|
-INSTALL = $(TCLSH_PROG) `$(CYGPATH) $(ITCL_SRC_DIR)/../config/installFile.tcl` -c
|
|
+INSTALL = install
|
|
INSTALL_PROGRAM = $(INSTALL)
|
|
INSTALL_DATA = $(INSTALL) -m 644
|
|
INSTALL_SCRIPT = $(INSTALL) -m 555
|
|
-MKINSTALLDIRS = $(ITCL_SRC_DIR)/../config/mkinstalldirs
|
|
+MKINSTALLDIRS = mkdir -p
|
|
RANLIB = @RANLIB@
|
|
LN_S = ln -s
|
|
TOP_DIR = $(srcdir)
|
|
@@ -120,8 +121,6 @@ test:
|
|
|
|
install-libraries:
|
|
@$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR) $(LIB_INSTALL_DIR)
|
|
- @rm -f $(LIB_INSTALL_DIR)/iwidgets
|
|
- $(LN_S) $(SCRIPT_INSTALL_DIR) $(LIB_INSTALL_DIR)/iwidgets
|
|
@$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR)/scripts
|
|
@echo "Installing source files from $(GENERIC_DIR) into $(SCRIPT_INSTALL_DIR)"
|
|
@for i in $(GENERIC_DIR)/*.itk $(GENERIC_DIR)/*.itcl $(GENERIC_DIR)/tclIndex $(GENERIC_DIR)/*.gif ; \
|
|
@@ -135,26 +134,26 @@ install-libraries:
|
|
done;
|
|
|
|
install-demos:
|
|
- @$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR)/demos/images $(SCRIPT_INSTALL_DIR)/demos/html
|
|
- @echo "Installing demos from $(srcdir)/demos into $(SCRIPT_INSTALL_DIR)/demos"
|
|
+ @$(MKINSTALLDIRS) $(DEMOS_INSTALL_DIR)/images $(DEMOS_INSTALL_DIR)/html
|
|
+ @echo "Installing demos from $(srcdir)/demos into $(DEMOS_INSTALL_DIR}"
|
|
@for i in $(srcdir)/demos/*; \
|
|
do \
|
|
if [ -f $$i ] ; then \
|
|
- $(INSTALL_SCRIPT) $$i $(SCRIPT_INSTALL_DIR)/demos; \
|
|
+ $(INSTALL_SCRIPT) $$i $(DEMOS_INSTALL_DIR); \
|
|
fi; \
|
|
done;
|
|
- @echo "Installing images from $(srcdir)/demos/images into $(SCRIPT_INSTALL_DIR)/demos/images"
|
|
+ @echo "Installing images from $(srcdir)/demos/images into $(DEMOS_INSTALL_DIR)/images"
|
|
for i in $(srcdir)/demos/images/*; \
|
|
do \
|
|
if [ -f $$i ] ; then \
|
|
- $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/demos/images; \
|
|
+ $(INSTALL_DATA) $$i $(DEMOS_INSTALL_DIR)/images; \
|
|
fi; \
|
|
done;
|
|
- @echo "Installing html man pages from $(srcdir)/demos/html into $(SCRIPT_INSTALL_DIR)/demos/html"
|
|
+ @echo "Installing html man pages from $(srcdir)/demos/html into $(DEMOS_INSTALL_DIR)/html"
|
|
for i in $(srcdir)/demos/html/*; \
|
|
do \
|
|
if [ -f $$i ] ; then \
|
|
- $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/demos/html; \
|
|
+ $(INSTALL_DATA) $$i $(DEMOS_INSTALL_DIR)/html; \
|
|
fi; \
|
|
done;
|
|
|