head	1.8;
access;
symbols
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.7
	RELEASE_5_0_0:1.7
	RELEASE_4_7_0:1.7
	RELEASE_4_6_2:1.7
	RELEASE_4_6_1:1.7
	RELEASE_4_6_0:1.7
	RELEASE_5_0_DP1:1.7
	RELEASE_4_5_0:1.7
	RELEASE_4_4_0:1.6
	RELEASE_4_3_0:1.6
	RELEASE_4_2_0:1.6
	RELEASE_4_1_1:1.6
	RELEASE_4_1_0:1.6
	RELEASE_3_5_0:1.6
	RELEASE_4_0_0:1.6
	RELEASE_3_4_0:1.6
	RELEASE_3_3_0:1.5
	RELEASE_3_2_0:1.5
	RELEASE_3_1_0:1.5
	RELEASE_2_2_8:1.5
	RELEASE_3_0_0:1.5
	RELEASE_2_2_7:1.5
	RELEASE_2_2_6:1.5
	RELEASE_2_2_5:1.5
	RELEASE_2_2_1:1.3
	RELEASE_2_2_2:1.3
	GCL_1_1:1.1.1.1
	GCL:1.1.1;
locks; strict;
comment	@# @;


1.8
date	2003.09.14.15.10.02;	author markm;	state dead;
branches;
next	1.7;

1.7
date	2001.12.08.06.22.03;	author ijliao;	state Exp;
branches;
next	1.6;

1.6
date	99.11.25.18.33.55;	author jseger;	state Exp;
branches;
next	1.5;

1.5
date	97.10.13.09.10.30;	author tg;	state Exp;
branches;
next	1.4;

1.4
date	97.10.07.09.20.07;	author tg;	state Exp;
branches;
next	1.3;

1.3
date	95.04.16.22.10.05;	author hsu;	state Exp;
branches;
next	1.2;

1.2
date	95.02.16.07.21.35;	author hsu;	state Exp;
branches;
next	1.1;

1.1
date	95.02.12.21.10.02;	author hsu;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.02.12.21.10.03;	author hsu;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Rescue a hosed port from death row. GCL is now healthy enough to
compile and run Maxima (see math/). Make portlint-clean as well.
Claim maintainership in case it breaks again.
@
text
@--- makefile.orig	Sun May  6 02:18:49 2001
+++ makefile	Mon Dec  3 22:20:13 2001
@@@@ -198,10 +198,12 @@@@
 	-if [ -d "${prefix}/lib" ] ;then true; else mkdir ${prefix}/lib ; fi
 	-if [ -d "${prefix}/bin" ] ;then true; else mkdir ${prefix}/bin ; fi
 	-if [ -d "${INSTALL_LIB_DIR}" ] ; then true; else mkdir ${INSTALL_LIB_DIR} ;fi
+	-if [ -d "${prefix}/info" ];then true; else mkdir ${prefix}/info ; fi
 	make install-command "INSTALL_LIB_DIR=${INSTALL_LIB_DIR}" "prefix=${prefix}"
 	rm -f ${prefix}/bin/gcl.exe
-	tar cvf - unixport/saved_gcl info/*info* doc/*.el ${LISP_LIB} \
+	tar cvf - unixport/saved_gcl doc/*.el ${LISP_LIB} \
 	gcl-tk/gcl.tcl gcl-tk/gcltkaux  |  (cd ${INSTALL_LIB_DIR} ;tar xvf -)
+	strip ${INSTALL_LIB_DIR}/unixport/saved_gcl
 	ln ${SYMB} ${INSTALL_LIB_DIR}/unixport/saved_gcl \
 	 ${prefix}/bin/gcl.exe
 	-cat gcl-tk/gcltksrv | \
--- makedefc.in.orig	Tue Dec  4 01:39:21 2001
+++ makedefc.in	Tue Dec  4 02:25:46 2001
@@@@ -16,13 +16,18 @@@@
 prefix=@@prefix@@
 
 # where to place the info files
-INFO_DIR=@@INFO_DIR@@
+INFO_DIR=@@prefix@@/info
+
+# configure has a clever process for figuring out where Emacs
+# really expects to find site-lisp and default.el.  We use
+# these values instead to ensure that building with --prefix=PREFIX
+# will not make changes outside the specified tree. -twp
 
 # where to put emacs lisp files.
-EMACS_SITE_LISP=@@EMACS_SITE_LISP@@
+EMACS_SITE_LISP=@@prefix@@/share/emacs/site-lisp
 
 # the default.el file
-EMACS_DEFAULT_EL=@@EMACS_DEFAULT_EL@@
+EMACS_DEFAULT_EL=@@prefix@@/share/emacs/site-lisp/default.el
 
 # numerous TCL/TK variables culled from the tkConfig.sh and tclConfig.sh
 # if these are found.
@


1.7
log
@upgrade to 2.4.0
assign maintainer (was ports@@FreeBSD.org0

PR:		32548
Submitted by:	Tim Pierce <twp@@unchi.org>
@
text
@@


1.6
log
@Unbreak and upgrade to gcl-2.3
@
text
@d1 3
a3 3
--- makefile.orig	Tue Nov  9 17:03:29 1999
+++ makefile	Mon Nov 15 17:14:36 1999
@@@@ -175,21 +175,22 @@@@
d13 1
d17 4
a20 9
 	sed -e "s:GCL_TK_DIR=.*:GCL_TK_DIR=${INSTALL_LIB_DIR}/gcl-tk:g"  \
 	-e "s:TK_LIBRARY=.*:TK_LIBRARY=${TK_LIBRARY}:g" > \
 	${INSTALL_LIB_DIR}/gcl-tk/gcltksrv
 	-if [ "${TK_CONFIG_PREFIX}" != "unknown" ] ; then  \
 	chmod a+x ${INSTALL_LIB_DIR}/gcl-tk/gcltksrv ; fi
 	-if [ "${TK_CONFIG_PREFIX}" != "unknown" ] ; then  \
 	(cd ${INSTALL_LIB_DIR}/gcl-tk/demos ; \
 	echo '(load "../tkl.o")(TK::GET-AUTOLOADS (directory "*.lisp"))' | ${prefix}/bin/gcl) ; fi
 	(cd info ; make ; make install)
d22 19
a40 1
 clean:
@


1.5
log
@Handle info files.

Submitted by:	Justin M. Seger <jseger@@freebsd.org>
@
text
@d1 5
a5 14
--- makefile.orig	Sat Mar 22 16:47:17 1997
+++ makefile	Sun Oct  5 14:17:32 1997
@@@@ -120,7 +120,7 @@@@
 merge:
 	${CC} -o merge merge.c
 
-LISP_LIB=cmpnew/collectfn.o lsp/gprof.lsp lsp/info.o lsp/profile.lsp gcl-tk/tkl.o  gcl-tk/tinfo.o gcl-tk/demos/*.lsp gcl-tk/demos/*.lisp gcl-tk/demos/*.o
+LISP_LIB=cmpnew/collectfn.o lsp/gprof.lsp lsp/info.o lsp/profile.lsp
 
 install-command:
 	rm -f ${PREFIX_DIR}/bin/gcl
@@@@ -141,21 +141,13 @@@@
 	-if [ -d "${PREFIX_DIR}/lib" ] ;then true; else mkdir ${PREFIX_DIR}/lib ; fi
 	-if [ -d "${PREFIX_DIR}/bin" ] ;then true; else mkdir ${PREFIX_DIR}/bin ; fi
d7 3
a9 3
+	-if [ -d "${PREFIX_DIR}/info" ] ; then true; else mkdir ${PREFIX_DIR}/info; fi
 	make install-command "INSTALL_LIB_DIR=${INSTALL_LIB_DIR}" "PREFIX_DIR=${PREFIX_DIR}"
 	rm -f ${PREFIX_DIR}/bin/gcl.exe
d11 2
a12 3
-	gcl-tk/gcl.tcl gcl-tk/gcltkaux  |  (cd ${INSTALL_LIB_DIR} ;tar xvf -)
+	tar cvf - unixport/saved_gcl ${LISP_LIB} \
+	  |  (cd ${INSTALL_LIB_DIR} ;tar xvf -)
d14 10
a23 10
 	 ${PREFIX_DIR}/bin/gcl.exe
-	-cat gcl-tk/gcltksrv | \
-	sed -e "s:GCL_TK_DIR=.*:GCL_TK_DIR=${INSTALL_LIB_DIR}/gcl-tk:g"  \
-	-e "s:TK_LIBRARY=.*:TK_LIBRARY=${TK_LIBRARY}:g" > \
-	${INSTALL_LIB_DIR}/gcl-tk/gcltksrv
-	-if [ "${TK_CONFIG_PREFIX}" != "unknown" ] ; then  \
-	chmod a+x ${INSTALL_LIB_DIR}/gcl-tk/gcltksrv ; fi
-	-if [ "${TK_CONFIG_PREFIX}" != "unknown" ] ; then  \
-	(cd ${INSTALL_LIB_DIR}/gcl-tk/demos ; \
-	echo '(load "../tkl.o")(TK::GET-AUTOLOADS (directory "*.lisp"))' | ${PREFIX_DIR}/bin/gcl) ; fi
@


1.4
log
@Upgrade to 2.2.2.

PR:		4699
Submitted by:	Justin M. Seger <jseger@@freebsd.scds.com>
@
text
@d12 1
a12 1
@@@@ -141,21 +141,15 @@@@
a16 1
+	-if [ -d "${PREFIX_DIR}/info/gcl-2.2.2" ] ; then true; else mkdir ${PREFIX_DIR}/info/gcl-2.2.2; fi
a22 1
+	(cd info; tar cvf - *si.info* | (cd ${PREFIX_DIR}/info/gcl-2.2.2 ; tar xvf -))
@


1.3
log
@Upgrade to gcl 2.0.
@
text
@d1 38
a38 157
*** makefile.0	Mon Apr 10 03:14:48 1995
--- makefile	Mon Apr 10 23:12:23 1995
***************
*** 29,44 ****
  
  LBINDIR=/usr/local/bin
  
! OFLAG	=  -O 
! LIBS	= -lm 
! ODIR_DEBUG= -O4 
  
  # This CC string will be used for compilation of the system,
  # and also in the compiler::*cc* variable for later compilation of
  # lisp files.
  # (the -pipe is just since our file system is slow..)
! CC = gcc -pipe -fwritable-strings  -DVOL=volatile -I$(GCLDIR)/o 
! LDCC=${CC} -static 
  
  # Enable the fastloading mechanism which does not use ld -A
  # requires c/rel_.. machine dependent code.
--- 29,44 ----
  
  LBINDIR=/usr/local/bin
  
! OFLAG	=  -O
! LIBS	= -lm
! ODIR_DEBUG= -O4
  
  # This CC string will be used for compilation of the system,
  # and also in the compiler::*cc* variable for later compilation of
  # lisp files.
  # (the -pipe is just since our file system is slow..)
! CC = gcc -pipe -fwritable-strings  -DVOL=volatile -I$(GCLDIR)/o
! LDCC=${CC} -static
  
  # Enable the fastloading mechanism which does not use ld -A
  # requires c/rel_.. machine dependent code.
***************
*** 46,52 ****
  RSYM	= rsym
  SFASL	= $(ODIR)/sfasl.o
  
! #  Use the mp.s file on 68k machine 
  
  # new gcc doesn't make a good .s file using optimisations.
  # so either use $(MPDIR)/mpi.o   $(MPDIR)/libmport.a
--- 46,52 ----
  RSYM	= rsym
  SFASL	= $(ODIR)/sfasl.o
  
! #  Use the mp.s file on 68k machine
  
  # new gcc doesn't make a good .s file using optimisations.
  # so either use $(MPDIR)/mpi.o   $(MPDIR)/libmport.a
***************
*** 66,72 ****
  # the  make to use for saved_kcp the profiler.
  KCP=kcp-bsd
  
! # dont add the .data 
  CAT=true
  # end makedefs
  
--- 66,72 ----
  # the  make to use for saved_kcp the profiler.
  KCP=kcp-bsd
  
! # dont add the .data
  CAT=true
  # end makedefs
  
***************
*** 132,138 ****
  	echo '#' other options: -load "/tmp/foo.o" -load "jo.lsp" -eval '"(joe 3)"' >> ${PREFIX_DIR}/bin/gcl
  	chmod a+x ${PREFIX_DIR}/bin/gcl
  
! install: 
  	make install1 "INSTALL_LIB_DIR=${PREFIX_DIR}/lib/gcl-`cat majvers`.`cat minvers`" "PREFIX_DIR=${PREFIX_DIR}"
  INSTALL_LIB_DIR=
  install1:
--- 132,138 ----
  	echo '#' other options: -load "/tmp/foo.o" -load "jo.lsp" -eval '"(joe 3)"' >> ${PREFIX_DIR}/bin/gcl
  	chmod a+x ${PREFIX_DIR}/bin/gcl
  
! install:
  	make install1 "INSTALL_LIB_DIR=${PREFIX_DIR}/lib/gcl-`cat majvers`.`cat minvers`" "PREFIX_DIR=${PREFIX_DIR}"
  INSTALL_LIB_DIR=
  install1:
***************
*** 142,148 ****
  	make install-command "INSTALL_LIB_DIR=${INSTALL_LIB_DIR}" "PREFIX_DIR=${PREFIX_DIR}"
  	rm -f ${PREFIX_DIR}/bin/gcl.exe
  	tar cvf - unixport/saved_gcl info/*info* doc/*.el ${LISP_LIB} \
!     	gcl-tk/gcl.tcl gcl-tk/gcltkaux  |  (cd ${INSTALL_LIB_DIR} ;tar xvf -)
  	ln ${SYMB} ${INSTALL_LIB_DIR}/unixport/saved_gcl \
  	 ${PREFIX_DIR}/bin/gcl.exe
  	cat gcl-tk/gcltksrv | \
--- 142,149 ----
  	make install-command "INSTALL_LIB_DIR=${INSTALL_LIB_DIR}" "PREFIX_DIR=${PREFIX_DIR}"
  	rm -f ${PREFIX_DIR}/bin/gcl.exe
  	tar cvf - unixport/saved_gcl info/*info* doc/*.el ${LISP_LIB} \
! 		h/cmpinclude.h gcl-tk/gcl.tcl gcl-tk/gcltkaux  | \
! 		(cd ${INSTALL_LIB_DIR} ;tar xvf -)
  	ln ${SYMB} ${INSTALL_LIB_DIR}/unixport/saved_gcl \
  	 ${PREFIX_DIR}/bin/gcl.exe
  	cat gcl-tk/gcltksrv | \
***************
*** 161,167 ****
  foo:
  		cat gcl-tk/gcltksrv | \
  	sed -e "s:#put correct dir:DIR=${INSTALL_LIB_DIR}/gcl-tk:g"  \
! 	-e "s:TK_LIBRARY=.*:TK_LIBRARY=${TK_LIBRARY}:g" 
  install-elisp-files:
  	(cd doc ; make install)
  
--- 162,168 ----
  foo:
  		cat gcl-tk/gcltksrv | \
  	sed -e "s:#put correct dir:DIR=${INSTALL_LIB_DIR}/gcl-tk:g"  \
! 	-e "s:TK_LIBRARY=.*:TK_LIBRARY=${TK_LIBRARY}:g"
  install-elisp-files:
  	(cd doc ; make install)
  
***************
*** 173,179 ****
  	(cd $(CMPDIR); make clean)
  	(cd $(PORTDIR); make clean)
  	(cd gcl-tk ; make clean)
! 	
  
  
  CMPINCLUDE_FILES=${HDIR}cmpincl1.h ${HDIR}compbas.h ${HDIR}enum.h ${HDIR}object.h ${HDIR}vs.h \
--- 174,180 ----
  	(cd $(CMPDIR); make clean)
  	(cd $(PORTDIR); make clean)
  	(cd gcl-tk ; make clean)
! 
  
  
  CMPINCLUDE_FILES=${HDIR}cmpincl1.h ${HDIR}compbas.h ${HDIR}enum.h ${HDIR}object.h ${HDIR}vs.h \
***************
*** 181,187 ****
  	${HDIR}lex.h ${HDIR}eval.h    ${HDIR}funlink.h \
  	${HDIR}att_ext.h ${HDIR}compbas2.h ${HDIR}/compat.h ${HDIR}/cmponly.h
  
! OTHERS=${HDIR}notcomp.h ${HDIR}rgbc.h ${HDIR}stacks.h 
  
  ${HDIR}cmpinclude.h: ${CMPINCLUDE_FILES} ${HDIR}config.h
  	cat ${HDIR}config.h | sed -e "1,/Begin for cmpincl/d" \
--- 182,188 ----
  	${HDIR}lex.h ${HDIR}eval.h    ${HDIR}funlink.h \
  	${HDIR}att_ext.h ${HDIR}compbas2.h ${HDIR}/compat.h ${HDIR}/cmponly.h
  
! OTHERS=${HDIR}notcomp.h ${HDIR}rgbc.h ${HDIR}stacks.h
  
  ${HDIR}cmpinclude.h: ${CMPINCLUDE_FILES} ${HDIR}config.h
  	cat ${HDIR}config.h | sed -e "1,/Begin for cmpincl/d" \
@


1.2
log
@Use csh instead of sh to work around bug w/ tty handling.  Pointed out
by pw@@snoopy.MV.COM.
@
text
@d1 2
a2 2
*** makefile.orig	Wed Feb 15 18:46:18 1995
--- makefile	Wed Feb 15 18:46:51 1995
d4 1
a4 1
*** 101,108 ****
d6 1
d8 27
a34 5
  command:
! 	rm -f xbin/gcl ; echo "#!/bin/sh" > xbin/gcl; \
! 	echo "${GCLDIR}/unixport/saved_gcl -dir ${GCLDIR}/unixport/ \$$@@ " \
  	>> xbin/gcl
  	chmod 755 xbin/gcl
d36 14
a49 1
--- 101,108 ----
d51 1
d53 18
a70 5
  command:
! 	rm -f xbin/gcl ; echo "#!/bin/csh" > xbin/gcl; \
! 	echo "${GCLDIR}/unixport/saved_gcl -dir ${GCLDIR}/unixport/ \$$* " \
  	>> xbin/gcl
  	chmod 755 xbin/gcl
d73 10
a82 7
*** 118,129 ****
  	-if [ -d ${PREFIX_DIR}/lib ] ;then true; else mkdir ${PREFIX_DIR}/lib ; fi
  	-if [ -d ${PREFIX_DIR}/bin ] ;then true; else mkdir ${PREFIX_DIR}/bin ; fi
  	-if [ -d ${INSTALL_LIB_DIR} ] ; then true; else mkdir ${INSTALL_LIB_DIR} ;fi 
! 	(echo      "#!/bin/sh" > ${PREFIX_DIR}/bin/gcl; \
  	echo ${INSTALL_LIB_DIR}/unixport/saved_gcl -dir ${INSTALL_LIB_DIR}/unixport/ -libdir ${INSTALL_LIB_DIR}/ >> \
  	${PREFIX_DIR}/bin/gcl)
a83 3
! 	tar cvf - unixport/saved_gcl doc/DOC doc/*.el ${LISP_LIB} | \
! 	  (cd ${INSTALL_LIB_DIR} ;tar xvf -)
  	-(cd doc ; make install)
d85 38
d124 29
a152 11
--- 118,129 ----
  	-if [ -d ${PREFIX_DIR}/lib ] ;then true; else mkdir ${PREFIX_DIR}/lib ; fi
  	-if [ -d ${PREFIX_DIR}/bin ] ;then true; else mkdir ${PREFIX_DIR}/bin ; fi
  	-if [ -d ${INSTALL_LIB_DIR} ] ; then true; else mkdir ${INSTALL_LIB_DIR} ;fi 
! 	(echo      "#!/bin/csh" > ${PREFIX_DIR}/bin/gcl; \
  	echo ${INSTALL_LIB_DIR}/unixport/saved_gcl -dir ${INSTALL_LIB_DIR}/unixport/ -libdir ${INSTALL_LIB_DIR}/ >> \
  	${PREFIX_DIR}/bin/gcl)
  	chmod a+x ${PREFIX_DIR}/bin/gcl
! 	tar cvf - unixport/saved_gcl doc/DOC doc/*.el ${LISP_LIB} \
! 	  h/cmpinclude.h | (cd ${INSTALL_LIB_DIR} ;tar xvf -)
  	-(cd doc ; make install)
d154 1
d156 2
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
*** makefile.0	Sat Feb 11 18:34:50 1995
--- makefile	Sat Feb 11 18:46:19 1995
d4 24
a27 1
*** 122,129 ****
d36 5
a40 1
--- 122,129 ----
@


1.1.1.1
log
@gcl - GNU Common Lisp
@
text
@@
