summaryrefslogtreecommitdiff
path: root/shells/scsh
diff options
context:
space:
mode:
authorhubertf <hubertf>1997-10-27 04:51:39 +0000
committerhubertf <hubertf>1997-10-27 04:51:39 +0000
commit140e04e0418f9746de81890f1a56e0c9581e9c9a (patch)
tree753888b60a1844e26eff7474aa304d77054fc467 /shells/scsh
parent0e877859181d1cf591547961f7fe2fe40b949b4f (diff)
downloadpkgsrc-140e04e0418f9746de81890f1a56e0c9581e9c9a.tar.gz
get everything in
Diffstat (limited to 'shells/scsh')
-rw-r--r--shells/scsh/Makefile29
-rw-r--r--shells/scsh/files/md51
-rw-r--r--shells/scsh/patches/patch-aa39
-rw-r--r--shells/scsh/patches/patch-ab19
-rw-r--r--shells/scsh/patches/patch-ac19
-rw-r--r--shells/scsh/patches/patch-ad19
-rw-r--r--shells/scsh/patches/patch-ae19
-rw-r--r--shells/scsh/pkg/COMMENT1
-rw-r--r--shells/scsh/pkg/DESCR48
-rw-r--r--shells/scsh/pkg/PLIST240
10 files changed, 434 insertions, 0 deletions
diff --git a/shells/scsh/Makefile b/shells/scsh/Makefile
new file mode 100644
index 00000000000..6d2c6e2daab
--- /dev/null
+++ b/shells/scsh/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: scsh
+# Version required: 0.5.1
+# Date created: Jul, 15, 1997
+# Whom: cracauer@cons.org "Martin Cracauer"
+#
+# $NetBSD: Makefile,v 1.1.1.1 1997/10/27 04:53:28 hubertf Exp $
+# FreeBSD Id: Makefile,v 1.4 1997/07/15 15:00:30 cracauer Exp
+#
+
+DISTNAME= scsh-0.5.1
+CATEGORIES= shells lang
+MASTER_SITES= ftp://ftp-swiss.ai.mit.edu/pub/su/scsh/
+
+MAINTAINER= cracauer@cons.org
+
+GNU_CONFIGURE= yes
+
+ALL_TARGET= enough
+MAN1= scsh.1
+STRIP=
+
+post-install:
+ @strip ${PREFIX}/bin/scsh
+ (cd ${WRKSRC} ; \
+ ${INSTALL_DATA} README RELEASE NEWS COPYING ${PREFIX}/lib/scsh/doc)
+ ${RM} -f ${PREFIX}/share/doc/scsh
+ ln -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh
+
+.include <bsd.port.mk>
diff --git a/shells/scsh/files/md5 b/shells/scsh/files/md5
new file mode 100644
index 00000000000..4c2cef40d02
--- /dev/null
+++ b/shells/scsh/files/md5
@@ -0,0 +1 @@
+MD5 (scsh-0.5.1.tar.gz) = 907dfc1202bff6b4aa416d2026dbdd19
diff --git a/shells/scsh/patches/patch-aa b/shells/scsh/patches/patch-aa
new file mode 100644
index 00000000000..22f97bee64e
--- /dev/null
+++ b/shells/scsh/patches/patch-aa
@@ -0,0 +1,39 @@
+*** Makefile.in.original Tue Nov 26 14:44:19 1996
+--- Makefile.in Thu Nov 28 15:29:24 1996
+***************
+*** 137,143 ****
+
+ # The following is the first rule and therefore the "make" command's
+ # default target.
+! enough: $(VM) $(IMAGE) script $(LIBCIG) scsh $(LIBSCSH) $(MANPAGE) .notify
+
+ # The developers are curious to know. Don't be concerned if this fails.
+ # You may comment these lines out if you wish to be discourteous.
+--- 137,143 ----
+
+ # The following is the first rule and therefore the "make" command's
+ # default target.
+! enough: $(VM) $(IMAGE) script $(LIBCIG) scsh $(LIBSCSH) $(MANPAGE)
+
+ # The developers are curious to know. Don't be concerned if this fails.
+ # You may comment these lines out if you wish to be discourteous.
+***************
+*** 250,255 ****
+--- 250,256 ----
+ $(RM) -r $(LIB).old
+ if [ -d $(LIB) ] ; then mv $(LIB) $(LIB).old ; fi
+ mkdir $(LIB)
++ mkdir $(LIB)/emacs
+ mkdir $(LIB)/big
+ mkdir $(LIB)/cig
+ mkdir $(LIB)/doc
+***************
+*** 286,291 ****
+--- 287,293 ----
+ $(LIB)/misc $(LIB)/link $(LIB)/vm $(LIB)/doc
+ for f in $(srcdir)/rts/*num.scm; \
+ do $(INSTALL_DATA) $$f $(LIB)/rts/; done
++ for f in $(srcdir)/emacs/*; do $(INSTALL_DATA) $$f $(LIB)/emacs/; done
+ for f in $(srcdir)/env/*.scm; do $(INSTALL_DATA) $$f $(LIB)/env/; done
+ for f in $(srcdir)/big/*.scm; do $(INSTALL_DATA) $$f $(LIB)/big/; done
+ for f in $(srcdir)/opt/*.scm; do $(INSTALL_DATA) $$f $(LIB)/opt/; done
diff --git a/shells/scsh/patches/patch-ab b/shells/scsh/patches/patch-ab
new file mode 100644
index 00000000000..a75d1e93ac4
--- /dev/null
+++ b/shells/scsh/patches/patch-ab
@@ -0,0 +1,19 @@
+*** env/command.scm.original Tue Nov 26 15:59:38 1996
+--- env/command.scm Tue Nov 26 15:59:46 1996
+***************
+*** 546,552 ****
+ ((char=? (string-ref line 0) #\n) #f)
+ (else (loop count)))))))
+
+! (define *y-or-n-eof-count* 100)
+
+ (define (read-line port)
+ (let loop ((l '()))
+--- 546,552 ----
+ ((char=? (string-ref line 0) #\n) #f)
+ (else (loop count)))))))
+
+! (define *y-or-n-eof-count* 0)
+
+ (define (read-line port)
+ (let loop ((l '()))
diff --git a/shells/scsh/patches/patch-ac b/shells/scsh/patches/patch-ac
new file mode 100644
index 00000000000..42c68f84ede
--- /dev/null
+++ b/shells/scsh/patches/patch-ac
@@ -0,0 +1,19 @@
+*** configure.in.original Tue Nov 26 17:10:41 1996
+--- configure.in Tue Nov 26 17:11:07 1996
+***************
+*** 220,226 ****
+ fi
+
+ AR=${AR-"ar cq"}
+! TMPDIR=${TMPDIR-"/usr/tmp"}
+
+ case "$host" in
+
+--- 220,226 ----
+ fi
+
+ AR=${AR-"ar cq"}
+! TMPDIR=${TMPDIR-"/var/tmp"}
+
+ case "$host" in
+
diff --git a/shells/scsh/patches/patch-ad b/shells/scsh/patches/patch-ad
new file mode 100644
index 00000000000..57efb8d7d37
--- /dev/null
+++ b/shells/scsh/patches/patch-ad
@@ -0,0 +1,19 @@
+*** configure.original Tue Nov 26 17:55:51 1996
+--- configure Tue Nov 26 17:55:58 1996
+***************
+*** 1017,1023 ****
+ fi
+
+ AR=${AR-"ar cq"}
+! TMPDIR=${TMPDIR-"/usr/tmp"}
+
+ case "$host" in
+
+--- 1017,1023 ----
+ fi
+
+ AR=${AR-"ar cq"}
+! TMPDIR=${TMPDIR-"/var/tmp"}
+
+ case "$host" in
+
diff --git a/shells/scsh/patches/patch-ae b/shells/scsh/patches/patch-ae
new file mode 100644
index 00000000000..f7eec1bab76
--- /dev/null
+++ b/shells/scsh/patches/patch-ae
@@ -0,0 +1,19 @@
+*** scsh/scsh.scm.original Tue Nov 26 17:15:00 1996
+--- scsh/scsh.scm Tue Nov 26 17:15:06 1996
+***************
+*** 298,304 ****
+ (list (string-append (car maybe-prefix) ".~a"))))))
+
+ (define *temp-file-template*
+! (make-fluid (string-append "/usr/tmp/" (number->string (pid)) ".~a")))
+
+
+ (define (temp-file-iterate maker . maybe-template)
+--- 298,304 ----
+ (list (string-append (car maybe-prefix) ".~a"))))))
+
+ (define *temp-file-template*
+! (make-fluid (string-append "/var/tmp/" (number->string (pid)) ".~a")))
+
+
+ (define (temp-file-iterate maker . maybe-template)
diff --git a/shells/scsh/pkg/COMMENT b/shells/scsh/pkg/COMMENT
new file mode 100644
index 00000000000..30452371478
--- /dev/null
+++ b/shells/scsh/pkg/COMMENT
@@ -0,0 +1 @@
+A Unix shell embedded into Scheme, with access to all Posix calls
diff --git a/shells/scsh/pkg/DESCR b/shells/scsh/pkg/DESCR
new file mode 100644
index 00000000000..7df558d870d
--- /dev/null
+++ b/shells/scsh/pkg/DESCR
@@ -0,0 +1,48 @@
+Scsh is a Unix shell in that is has significant syntax extensions to
+make writing Unix shell scripts easy (constructing pipelines, setting
+I/O redirection, conditional execution etc.). It also offers access to
+lower-level functionality like all Posix system calls, TCP/IP sockets
+and a full-featured regular expression library. This is embedded into
+a general-purpose programming language with real data types,
+extensive, syntactically clean control constructs and "real" quoting
+rules.
+
+Scsh is also a full implementation of R4RS Scheme with some
+non-standard behavior (required for scripting). As a result, a wide
+varity of exiting Scheme code can be used.
+
+The underlying Scheme implementation is a virtual machine for compact
+byte code.
+
+The name of the installed program is "scsh", the manpage is scsh(1),
+other documentation is in (/usr/local/)lib/scsh/doc
+
+To load slib, install slib into /usr/local/lib/slib and run
+(load "slib-init.scm")
+in scsh. It requires no additional setup (paths or such).
+
+The emacs interface is in the original distribution in emacs/. For
+documentation see doc/user-guide.txt.
+
+Differences between FreeBSD port and generic scsh release:
+----------------------------------------------------------
+
+1) When hitting C-d (end-of-file), scsh asks 100 times for
+confirmation. I changed the default to do this just once. See constant
+*y-or-n-eof-count* in scsh/rw.scm to change it.
+
+2) The original scsh sends a mail to the scsh authors every time you
+make the package. The FreeBSD port doesn't. The authors of scsh would
+appreciate it if you do a `(cd work/scsh-0.4.4 && make .notify)` after
+you build this package.
+
+3) A symbolic link ${PREFIX}/share/doc/scsh to the documentation is
+created.
+
+4) Some basic description text files from the distribution base dir
+are copied to lib/doc. The emacs directory is copied into
+lib/scsh/emacs. scsh's default is not to install these files.
+
+5) Some /usr/tmp -> /var/tmp
+
+Martin Cracauer <cracauer@cons.org>
diff --git a/shells/scsh/pkg/PLIST b/shells/scsh/pkg/PLIST
new file mode 100644
index 00000000000..f7769fa7c06
--- /dev/null
+++ b/shells/scsh/pkg/PLIST
@@ -0,0 +1,240 @@
+bin/scsh
+man/man1/scsh.1.gz
+lib/scsh/big/array.scm
+lib/scsh/big/big-util.scm
+lib/scsh/big/bigbit.scm
+lib/scsh/big/compose-cont.scm
+lib/scsh/big/defrecord.scm
+lib/scsh/big/destructure.scm
+lib/scsh/big/dump.scm
+lib/scsh/big/external.scm
+lib/scsh/big/filename.scm
+lib/scsh/big/format.scm
+lib/scsh/big/general-table.scm
+lib/scsh/big/lu-decomp.scm
+lib/scsh/big/new-ports.scm
+lib/scsh/big/pp.scm
+lib/scsh/big/queue.scm
+lib/scsh/big/random.scm
+lib/scsh/big/receive.scm
+lib/scsh/big/search-tree.scm
+lib/scsh/big/sleep.scm
+lib/scsh/big/sort.scm
+lib/scsh/big/thread.scm
+lib/scsh/big/xport.scm
+lib/scsh/cig/cig
+lib/scsh/cig/cig.image
+lib/scsh/cig/libscshvm.a
+lib/scsh/cig/libcig.h
+lib/scsh/doc/COPYING
+lib/scsh/doc/NEWS
+lib/scsh/doc/RELEASE
+lib/scsh/doc/README
+lib/scsh/doc/scsh-manual/awk.tex
+lib/scsh/doc/scsh-manual/changes.tex
+lib/scsh/doc/scsh-manual/decls.tex
+lib/scsh/doc/scsh-manual/front.tex
+lib/scsh/doc/scsh-manual/intro.tex
+lib/scsh/doc/scsh-manual/man.tex
+lib/scsh/doc/scsh-manual/miscprocs.tex
+lib/scsh/doc/scsh-manual/network.tex
+lib/scsh/doc/scsh-manual/procnotation.tex
+lib/scsh/doc/scsh-manual/rdelim.tex
+lib/scsh/doc/scsh-manual/running.tex
+lib/scsh/doc/scsh-manual/strings.tex
+lib/scsh/doc/scsh-manual/syscalls.tex
+lib/scsh/doc/scsh-manual/test.tex
+lib/scsh/doc/scsh-manual/todo.tex
+lib/scsh/doc/scsh-manual/tty.tex
+lib/scsh/doc/scsh-manual/xman.tex
+lib/scsh/doc/big-scheme.txt
+lib/scsh/doc/call-back.txt
+lib/scsh/doc/cheat.txt
+lib/scsh/doc/external.txt
+lib/scsh/doc/hacking.txt
+lib/scsh/doc/install.s48-0.36.txt
+lib/scsh/doc/install.txt
+lib/scsh/doc/no-leaf-env.txt
+lib/scsh/doc/olins-changes.txt
+lib/scsh/doc/package.txt
+lib/scsh/doc/scsh-src-roadmap.txt
+lib/scsh/doc/threads.txt
+lib/scsh/doc/type.txt
+lib/scsh/doc/user-guide.txt
+lib/scsh/doc/code.tex
+lib/scsh/doc/latex-stuff.tex
+lib/scsh/doc/meeting.tex
+lib/scsh/doc/module.tex
+lib/scsh/doc/scsh-paper.tex
+lib/scsh/doc/summary.tex
+lib/scsh/doc/meeting.ps
+lib/scsh/doc/module.ps
+lib/scsh/doc/scsh-manual.ps
+lib/scsh/doc/scsh-paper.ps
+lib/scsh/env/assem.scm
+lib/scsh/env/basic-command.scm
+lib/scsh/env/build.scm
+lib/scsh/env/command.scm
+lib/scsh/env/debug.scm
+lib/scsh/env/debuginfo.scm
+lib/scsh/env/disasm.scm
+lib/scsh/env/disclosers.scm
+lib/scsh/env/dispcond.scm
+lib/scsh/env/flatload.scm
+lib/scsh/env/init-defpackage.scm
+lib/scsh/env/inspect.scm
+lib/scsh/env/jar-assem.scm
+lib/scsh/env/list-interface.scm
+lib/scsh/env/load-package.scm
+lib/scsh/env/more-thread.scm
+lib/scsh/env/pacman.scm
+lib/scsh/env/pedit.scm
+lib/scsh/env/read-command.scm
+lib/scsh/env/shadow.scm
+lib/scsh/env/space.scm
+lib/scsh/env/start.scm
+lib/scsh/env/traverse.scm
+lib/scsh/env/version-info.scm
+lib/scsh/link/data.scm
+lib/scsh/link/generate-c-header.scm
+lib/scsh/link/link.scm
+lib/scsh/link/loadc.scm
+lib/scsh/link/reify.scm
+lib/scsh/link/transport.scm
+lib/scsh/link/write-image.scm
+lib/scsh/misc/annotate.scm
+lib/scsh/misc/argument.scm
+lib/scsh/misc/doodl.scm
+lib/scsh/misc/either.scm
+lib/scsh/misc/getenv.scm
+lib/scsh/misc/hilbert.scm
+lib/scsh/misc/ilength.scm
+lib/scsh/misc/integertostring.scm
+lib/scsh/misc/load-static.scm
+lib/scsh/misc/mail.scm
+lib/scsh/misc/packages.scm
+lib/scsh/misc/psd-s48.scm
+lib/scsh/misc/remote.scm
+lib/scsh/misc/require.scm
+lib/scsh/misc/separate.scm
+lib/scsh/misc/shift-reset.scm
+lib/scsh/misc/sicp.scm
+lib/scsh/misc/slib-init.scm
+lib/scsh/misc/socket.scm
+lib/scsh/misc/static.scm
+lib/scsh/misc/test-doodl.scm
+lib/scsh/opt/analyze.scm
+lib/scsh/opt/expand.scm
+lib/scsh/opt/inline.scm
+lib/scsh/opt/tst.scm
+lib/scsh/scsh/awk.scm
+lib/scsh/scsh/char-set.scm
+lib/scsh/scsh/db.scm
+lib/scsh/scsh/dbm.scm
+lib/scsh/scsh/defrec.scm
+lib/scsh/scsh/ekko.scm
+lib/scsh/scsh/endian.scm
+lib/scsh/scsh/enumconst.scm
+lib/scsh/scsh/fdports.scm
+lib/scsh/scsh/fileinfo.scm
+lib/scsh/scsh/filemtch.scm
+lib/scsh/scsh/filesys.scm
+lib/scsh/scsh/flock.scm
+lib/scsh/scsh/fname.scm
+lib/scsh/scsh/fr.scm
+lib/scsh/scsh/glob.scm
+lib/scsh/scsh/here.scm
+lib/scsh/scsh/jcontrol.scm
+lib/scsh/scsh/jcontrol2.scm
+lib/scsh/scsh/let-opt.scm
+lib/scsh/scsh/meta-arg.scm
+lib/scsh/scsh/ndbm.scm
+lib/scsh/scsh/network.scm
+lib/scsh/scsh/pty.scm
+lib/scsh/scsh/newports.scm
+lib/scsh/scsh/oldtop.scm
+lib/scsh/scsh/procobj.scm
+lib/scsh/scsh/rdelim.scm
+lib/scsh/scsh/re.scm
+lib/scsh/scsh/rw.scm
+lib/scsh/scsh/scsh-condition.scm
+lib/scsh/scsh/scsh-interfaces.scm
+lib/scsh/scsh/scsh-package.scm
+lib/scsh/scsh/scsh-read.scm
+lib/scsh/scsh/scsh-version.scm
+lib/scsh/scsh/scsh.scm
+lib/scsh/scsh/select.scm
+lib/scsh/scsh/sighandlers.scm
+lib/scsh/scsh/startup.scm
+lib/scsh/scsh/static.scm
+lib/scsh/scsh/stringcoll.scm
+lib/scsh/scsh/syntax-helpers.scm
+lib/scsh/scsh/syntax.scm
+lib/scsh/scsh/syscalls.scm
+lib/scsh/scsh/time.scm
+lib/scsh/scsh/top.scm
+lib/scsh/scsh/tty.scm
+lib/scsh/scsh/utilities.scm
+lib/scsh/rts/bignum.scm
+lib/scsh/rts/defenum.scm
+lib/scsh/rts/enum.scm
+lib/scsh/rts/floatnum.scm
+lib/scsh/rts/innum.scm
+lib/scsh/rts/ratnum.scm
+lib/scsh/rts/recnum.scm
+lib/scsh/rts/xnum.scm
+lib/scsh/rts/jar-defrecord.scm
+lib/scsh/vm/arch.scm
+lib/scsh/vm/arith.scm
+lib/scsh/vm/data.scm
+lib/scsh/vm/defenum.scm
+lib/scsh/vm/define-primitive.scm
+lib/scsh/vm/disasm.scm
+lib/scsh/vm/env.scm
+lib/scsh/vm/external.scm
+lib/scsh/vm/gc.scm
+lib/scsh/vm/heap.scm
+lib/scsh/vm/interfaces.scm
+lib/scsh/vm/interp.scm
+lib/scsh/vm/macro-package-defs.scm
+lib/scsh/vm/memory.scm
+lib/scsh/vm/package-defs.scm
+lib/scsh/vm/prescheme.scm
+lib/scsh/vm/prim.scm
+lib/scsh/vm/ps-interface.scm
+lib/scsh/vm/ps-memory.scm
+lib/scsh/vm/ps-package-defs.scm
+lib/scsh/vm/ps-package.scm
+lib/scsh/vm/resume.scm
+lib/scsh/vm/s48-package-defs.scm
+lib/scsh/vm/stack.scm
+lib/scsh/vm/stob.scm
+lib/scsh/vm/struct.scm
+lib/scsh/vm/vm-utilities.scm
+lib/scsh/vm/vmio.scm
+lib/scsh/scshvm
+lib/scsh/scsh.image
+lib/scsh/libscshvm.a
+lib/scsh/emacs/README
+lib/scsh/emacs/cmulisp.el
+lib/scsh/emacs/cmuscheme.el
+lib/scsh/emacs/cmuscheme48.el
+lib/scsh/emacs/cmushell.el
+lib/scsh/emacs/comint.el
+lib/scsh/emacs/jar-hacks.el
+@exec ln -fs %D/lib/scsh/doc %D/share/doc/scsh
+@unexec rm -f %D/share/doc/scsh
+@dirrm lib/scsh/emacs
+@dirrm lib/scsh/big
+@dirrm lib/scsh/cig
+@dirrm lib/scsh/doc/scsh-manual
+@dirrm lib/scsh/doc
+@dirrm lib/scsh/env
+@dirrm lib/scsh/link
+@dirrm lib/scsh/misc
+@dirrm lib/scsh/opt
+@dirrm lib/scsh/scsh
+@dirrm lib/scsh/rts
+@dirrm lib/scsh/vm
+@dirrm lib/scsh
+@unexec echo 'You might check whether to remove %D/lib/scsh.old'