head	1.11;
access;
symbols
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_5_EOL:1.10
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10
	PRE_XORG_7:1.10
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.9
	RELEASE_6_1_0:1.9
	RELEASE_5_5_0:1.9
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.9
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.9
	RELEASE_5_2_0:1.9
	RELEASE_4_9_0:1.9
	RELEASE_5_1_0:1.9
	RELEASE_4_8_0:1.9
	RELEASE_5_0_0:1.9
	RELEASE_4_7_0:1.9
	RELEASE_4_6_2:1.9
	RELEASE_4_6_1:1.9
	RELEASE_4_6_0:1.9
	RELEASE_5_0_DP1:1.9
	RELEASE_4_5_0:1.9
	RELEASE_4_4_0:1.9
	RELEASE_4_3_0:1.9
	RELEASE_4_2_0:1.9
	RELEASE_4_1_1:1.9
	RELEASE_4_1_0:1.9
	RELEASE_3_5_0:1.9
	RELEASE_4_0_0:1.9
	RELEASE_3_4_0:1.9
	RELEASE_3_3_0:1.9
	RELEASE_3_2_0:1.9
	RELEASE_3_1_0:1.8
	RELEASE_2_2_8:1.7
	RELEASE_3_0_0:1.7
	RELEASE_2_2_7:1.6
	RELEASE_2_2_6:1.6
	RELEASE_2_2_5:1.4
	tcl_80:1.1.1.1
	SUN_TCL:1.1.1;
locks; strict;
comment	@# @;


1.11
date	2009.07.07.07.32.22;	author mm;	state dead;
branches;
next	1.10;

1.10
date	2007.03.13.10.31.46;	author miwi;	state Exp;
branches;
next	1.9;

1.9
date	99.04.30.16.09.55;	author cwt;	state Exp;
branches;
next	1.8;

1.8
date	98.12.19.07.25.19;	author cwt;	state Exp;
branches;
next	1.7;

1.7
date	98.09.17.22.30.10;	author steve;	state Exp;
branches;
next	1.6;

1.6
date	97.12.01.19.20.06;	author pst;	state Exp;
branches;
next	1.5;

1.5
date	97.11.26.22.49.03;	author pst;	state Exp;
branches;
next	1.4;

1.4
date	97.10.02.05.22.00;	author asami;	state Exp;
branches;
next	1.3;

1.3
date	97.10.01.08.39.47;	author tg;	state Exp;
branches;
next	1.2;

1.2
date	97.09.01.11.16.47;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	97.08.20.10.33.43;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.08.20.10.33.43;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.11
log
@- Dropping tcl8.0 support
- This has no effect on japanese/tcl80 and japanese/tk80 ports

2009-03-22 lang/tcl80: tcl8.0 support dropped
@
text
@--- Makefile.in.orig	Tue Mar  9 07:51:26 1999
+++ Makefile.in	Mon Mar 12 16:32:22 2007
@@@@ -55,7 +55,9 @@@@
 BIN_INSTALL_DIR =	$(INSTALL_ROOT)$(exec_prefix)/bin
 
 # Directory in which to install the include file tcl.h:
-INCLUDE_INSTALL_DIR =	$(INSTALL_ROOT)$(prefix)/include
+INCLUDE_INSTALL_DIR =	$(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)
+GENERIC_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)/generic
+UNIX_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)/unix
 
 # Top-level directory in which to install manual entries:
 MAN_INSTALL_DIR =	$(INSTALL_ROOT)$(prefix)/man
@@@@ -146,7 +148,7 @@@@
 # "install" around;  better to use the install-sh script that comes
 # with the distribution, which is slower but guaranteed to work.
 
-INSTALL =		@@srcdir@@/install-sh -c
+INSTALL =		install -c
 INSTALL_PROGRAM =	${INSTALL}
 INSTALL_DATA =		${INSTALL} -m 644
 
@@@@ -331,15 +333,21 @@@@
 
 SRCS = $(GENERIC_SRCS) $(UNIX_SRCS)
 
-all: ${TCL_LIB_FILE} tclsh
+all: ${TCL_LIB_FILE} libtcl80.a tclsh
 
 # The following target is configured by autoconf to generate either
 # a shared library or non-shared library for Tcl.
 ${TCL_LIB_FILE}: ${OBJS}
 	rm -f ${TCL_LIB_FILE}
 	@@MAKE_LIB@@
+	ln -sf ${TCL_LIB_FILE} libtcl80.so
 	$(RANLIB) ${TCL_LIB_FILE}
 
+libtcl80.a: ${OBJS}
+	rm -f libtcl80.a
+	ar cr libtcl80.a ${OBJS}
+	ranlib libtcl80.a
+
 # Make target which outputs the list of the .o contained in the Tcl lib
 # usefull to build a single big shared library containing Tcl and other
 # extensions.  used for the Tcl Plugin.  -- dl
@@@@ -427,13 +435,13 @@@@
 	cd dltest; if test -f configure; then ./configure; else \
 	    $(DLTEST_DIR)/configure; fi
 
-install: install-binaries install-libraries install-man
+install: install-binaries install-libraries
 
 # Note: before running ranlib below, must cd to target directory because
 # some ranlibs write to current directory, and this might not always be
 # possible (e.g. if installing as root).
 
-install-binaries: $(TCL_LIB_FILE) tclsh
+install-binaries: $(TCL_LIB_FILE) libtcl80.a tclsh
 	@@for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
 	    do \
 	    if [ ! -d $$i ] ; then \
@@@@ -447,14 +455,19 @@@@
 	@@$(INSTALL_DATA) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE)
 	@@(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TCL_LIB_FILE))
 	@@chmod 555 $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE)
+	@@echo "Installing libtcl80.a"
+	@@$(INSTALL_DATA) libtcl80.a $(LIB_INSTALL_DIR)/libtcl80.a
+	@@(cd $(LIB_INSTALL_DIR); $(RANLIB) libtcl80.a)
+	@@chmod 555 $(LIB_INSTALL_DIR)/libtcl80.a
 	@@echo "Installing tclsh"
 	@@$(INSTALL_PROGRAM) tclsh $(BIN_INSTALL_DIR)/tclsh$(VERSION)
 	@@echo "Installing tclConfig.sh"
-	@@$(INSTALL_DATA) tclConfig.sh $(LIB_INSTALL_DIR)/tclConfig.sh
+	@@mkdir -p $(SCRIPT_INSTALL_DIR)
+	@@$(INSTALL_DATA) tclConfig.sh $(SCRIPT_INSTALL_DIR)/tclConfig.sh
 
 install-libraries:
-	@@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
-		$(SCRIPT_INSTALL_DIR); \
+	@@for i in $(INSTALL_ROOT)$(prefix)/lib $(GENERIC_INCLUDE_INSTALL_DIR) \
+		$(UNIX_INCLUDE_INSTALL_DIR) $(SCRIPT_INSTALL_DIR); \
 	    do \
 	    if [ ! -d $$i ] ; then \
 		echo "Making directory $$i"; \
@@@@ -472,8 +485,15 @@@@
 		else true; \
 		fi; \
 	    done;
-	@@echo "Installing tcl.h"
-	@@$(INSTALL_DATA) $(GENERIC_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
+	@@echo "Installing libraries, tcl.h and other headers"
+	@@for i in $(GENERIC_DIR)/*.h ; \
+	    do \
+	    echo "Installing $$i"; \
+	    $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
+	    done;
+	@@ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
+	@@echo "Installing $(TOP_DIR)unix/tclUnixPort.h"
+	@@$(INSTALL_DATA) $(TOP_DIR)/unix/tclUnixPort.h $(UNIX_INCLUDE_INSTALL_DIR)
 	@@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c $(UNIX_DIR)/ldAix; \
 	    do \
 	    echo "Installing $$i"; \
@@@@ -501,30 +521,37 @@@@
 	@@cd $(TOP_DIR)/doc; for i in *.1; \
 	    do \
 	    echo "Installing doc/$$i"; \
-	    rm -f $(MAN1_INSTALL_DIR)/$$i; \
+	    rm -f $(MAN1_INSTALL_DIR)/$$i $(MAN1_INSTALL_DIR)/$$i.gz ; \
 	    sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
-		    $$i > $(MAN1_INSTALL_DIR)/$$i; \
-	    chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
+		    $$i | gzip -c > $(MAN1_INSTALL_DIR)/$$i.gz; \
+	    chmod 444 $(MAN1_INSTALL_DIR)/$$i.gz; \
 	    done;
 	$(UNIX_DIR)/mkLinks $(MAN1_INSTALL_DIR)
 	@@cd $(TOP_DIR)/doc; for i in *.3; \
 	    do \
 	    echo "Installing doc/$$i"; \
-	    rm -f $(MAN3_INSTALL_DIR)/$$i; \
+	    rm -f $(MAN3_INSTALL_DIR)/$$i $(MAN3_INSTALL_DIR)/$$i.gz ; \
 	    sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
-		    $$i > $(MAN3_INSTALL_DIR)/$$i; \
-	    chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
+		    $$i | gzip -c > $(MAN3_INSTALL_DIR)/$$i.gz; \
+	    chmod 444 $(MAN3_INSTALL_DIR)/$$i.gz; \
 	    done;
 	$(UNIX_DIR)/mkLinks $(MAN3_INSTALL_DIR)
 	@@cd $(TOP_DIR)/doc; for i in *.n; \
 	    do \
 	    echo "Installing doc/$$i"; \
-	    rm -f $(MANN_INSTALL_DIR)/$$i; \
+	    rm -f $(MANN_INSTALL_DIR)/$$i $(MANN_INSTALL_DIR)/$$i.gz; \
 	    sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
-		    $$i > $(MANN_INSTALL_DIR)/$$i; \
-	    chmod 444 $(MANN_INSTALL_DIR)/$$i; \
+		    $$i | gzip -c > $(MANN_INSTALL_DIR)/$$i.gz; \
+	    chmod 444 $(MANN_INSTALL_DIR)/$$i.gz; \
 	    done;
 	$(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
+	@@echo "**********"
+	@@echo "IMPORTANT:"
+	@@echo "**********"
+	@@echo "tclConfig.sh in $(SCRIPT_INSTALL_DIR)/tclConfig.sh"
+	@@echo "tcl.h        in $(INCLUDE_INSTALL_DIR)/tcl.h"
+	@@echo "There are NOT default place, but good place to avoid"
+	@@echo "conflicting with another version of Tcl/Tks."
 
 Makefile: $(UNIX_DIR)/Makefile.in
 	$(SHELL) config.status
@


1.10
log
@- Adds TCL80_MAN and TCLSH_WRAPPER to OPTIONS
- Removes pseudo-installation of tclsh in favour of new lang/tcl-tk-wrapper port
- Adds support for NO_INSTALL_MANPAGES knob
- Pass maintainership to submitter
- Bump PORTREVISION

PR:             110233
Submitted by:   Martin Matuska <martin@@matuska.org>
@
text
@@


1.9
log
@Tcl 8.0.5.  Fenner's MLINK PR TBA RSN
@
text
@d1 2
a2 2
--- Makefile.in.orig	Thu Apr 29 10:26:03 1999
+++ Makefile.in	Thu Apr 29 10:33:07 1999
d46 8
a53 1
@@@@ -433,7 +441,7 @@@@
@


1.8
log
@Tcl v8.0.4
@
text
@d1 2
a2 2
--- Makefile.in.orig	Tue Nov 25 10:31:41 1997
+++ Makefile.in		Mon Nov 30 16:28:20 1998
d14 1
a14 1
@@@@ -133,7 +135,7 @@@@
d23 1
a23 1
@@@@ -310,15 +312,21 @@@@
d46 1
a46 1
@@@@ -410,7 +418,7 @@@@
d55 1
a55 1
@@@@ -424,18 +432,23 @@@@
d78 1
a78 6
-		mkdir $$i; \
+		mkdir -p $$i; \
 		chmod 755 $$i; \
 		else true; \
 		fi; \
@@@@ -449,8 +462,15 @@@@
d96 1
a96 1
@@@@ -478,30 +498,37 @@@@
@


1.7
log
@Make this build in an ELF world.

Reviewed by:	jkh
@
text
@d2 1
a2 1
+++ Makefile.in	Thu Sep 17 17:29:28 1998
d40 2
a41 2
+	ar cr libtcl80.a ${OBJS}	
+	$(RANLIB) libtcl80.a
@


1.6
log
@Whoops, forgot to copy over patch that bumped SHLIB
@
text
@d1 2
a2 12
--- configure	Fri Nov  7 09:28:05 1997
+++ configure	Fri Nov 21 23:36:13 1997
@@@@ -3789,7 +3789,7 @@@@
 	    DL_LIBS=""
 	    LD_FLAGS=""
 	    LD_SEARCH_FLAGS=""
-	    TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.0'
+	    TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.2'
 	
 else
   echo "$ac_t""no" 1>&6
+++ Makefile.in	Wed Oct  1 09:51:59 1997
d14 1
a14 1
@@@@ -138,7 +140,7 @@@@
d23 1
a23 1
@@@@ -315,7 +317,7 @@@@
d32 2
a33 1
@@@@ -324,6 +326,11 @@@@
d35 1
d46 1
a46 1
@@@@ -415,7 +422,7 @@@@
d55 1
a55 1
@@@@ -429,18 +436,23 @@@@
d83 1
a83 1
@@@@ -454,8 +466,15 @@@@
d101 1
a101 1
@@@@ -483,30 +502,37 @@@@
@


1.5
log
@Upgrade to v8.0 PL1.

Thanks go to all the folks who tested on their systems and tested ports
that relied on Tcl/Tk v8.x.
@
text
@d8 1
a8 1
+	    TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.1'
@


1.4
log
@Create some directories with "mkdir -p" so that it works on an empty
/usr/local.  If people can do a pkg_delete before the final test, it
will be very appreciated.
@
text
@d1 11
a11 1
--- Makefile.in.orig	Fri Aug 15 22:17:28 1997
@


1.3
log
@Install all headers into ${PREFIX}/include/{generic,unix}
for consistency with the older tcl ports.

OK'd by:	jkh
@
text
@d53 1
a53 1
@@@@ -429,14 +436,19 @@@@
d76 5
@


1.2
log
@Build and install static library also.
Submitted by: "Justin M. Seger" <jseger@@freebsd.scds.com>
@
text
@d1 3
a3 3
--- Makefile.in.orig	Fri Aug 15 16:17:28 1997
+++ Makefile.in	Sun Aug 31 19:47:11 1997
@@@@ -55,7 +55,7 @@@@
d9 2
d14 1
a14 1
@@@@ -138,7 +138,7 @@@@
d23 1
a23 1
@@@@ -315,7 +315,7 @@@@
d32 1
a32 1
@@@@ -324,6 +324,11 @@@@
d44 1
a44 1
@@@@ -415,7 +420,7 @@@@
d53 1
a53 1
@@@@ -429,10 +434,15 @@@@
d69 26
a94 2
 	@@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
@@@@ -483,28 +493,28 @@@@
d131 7
d139 2
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
--- Makefile.in.orig	Fri Aug 15 13:17:28 1997
+++ Makefile.in	Wed Aug 20 02:55:43 1997
d21 38
a58 1
@@@@ -432,7 +432,8 @@@@
d68 1
a68 1
@@@@ -483,28 +484,28 @@@@
@


1.1.1.1
log
@Import TCL 8.0 as a port for the 2.x users and others who want it here
as an option.
Reviewed by:	asami
@
text
@@
