summaryrefslogtreecommitdiff
path: root/lang/scm
diff options
context:
space:
mode:
authorJeffrey Hsu <hsu@FreeBSD.org>1994-11-06 09:59:26 +0000
committerJeffrey Hsu <hsu@FreeBSD.org>1994-11-06 09:59:26 +0000
commite3eac5f1debc4dfce77997d3329eddd366b9800b (patch)
treebdc0b2f28f83b73182f1a39f010828dac921cf5b /lang/scm
parentadded jpeg to Makefile (diff)
scm - a scheme interpreter
Notes
Notes: svn path=/head/; revision=329
Diffstat (limited to 'lang/scm')
-rw-r--r--lang/scm/Makefile26
-rw-r--r--lang/scm/pkg-comment1
-rw-r--r--lang/scm/pkg-descr32
-rw-r--r--lang/scm/pkg-plist11
4 files changed, 70 insertions, 0 deletions
diff --git a/lang/scm/Makefile b/lang/scm/Makefile
new file mode 100644
index 000000000000..d8eb6dae8179
--- /dev/null
+++ b/lang/scm/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: scm
+# Version required: 4e1
+# Date created: Sat Nov 5 17:11:01 PST 1994
+# Whom: hsu
+#
+# $Id$
+#
+
+DISTNAME= scm
+MASTER_SITES= ftp://swiss-ftp.ai.mit.edu/pub/scm/
+DISTFILES= scm4e1.tar.gz \
+ slib.info.tar.gz slib2a1.tar.gz slib-psd1-3.tar.gz \
+ scmconfig4e1.tar.gz
+GNU_CONFIGURE=
+USE_GMAKE=
+MAKE_FLAGS= CFLAGS=-O2 LDFLAGS=-s defines="-DSICP -DHAVE_CONFIG_H -DFLOATS -DIO_EXTENSIONS -DMEMOIZE_LOCALS -DGC_FREE_SEGMENTS" -f
+
+pre-install:
+ @if [ ! -e ${PREFIX}/lib ]; then mkdir -p ${PREFIX}/lib; fi
+ cp -rp ${WRKDIR}/slib ${PREFIX}/lib
+ @if [ ! -e /usr/gnu/info ]; then mkdir -p /usr/gnu/info; fi
+ (cd ${WRKDIR}/slib; \
+ install -c -m 444 slib.info slib.info-1 slib.info-2 \
+ slib.info-3 slib.info-4 /usr/gnu/info)
+
+.include <bsd.port.mk>
diff --git a/lang/scm/pkg-comment b/lang/scm/pkg-comment
new file mode 100644
index 000000000000..7b3e5160af81
--- /dev/null
+++ b/lang/scm/pkg-comment
@@ -0,0 +1 @@
+Scm - a scheme interpreter
diff --git a/lang/scm/pkg-descr b/lang/scm/pkg-descr
new file mode 100644
index 000000000000..ab9b9e3c2748
--- /dev/null
+++ b/lang/scm/pkg-descr
@@ -0,0 +1,32 @@
+This message announces the availability of Scheme release scm4e1.
+
+Scm conforms to Revised^4 Report on the Algorithmic Language Scheme
+and the IEEE P1178 specification. Scm is written in C and runs under
+Amiga, Atari-ST, MacOS, MS-DOS, OS/2, NOS/VE, Unicos, VMS, Unix and
+similar systems. ASCII and EBCDIC are supported.
+
+Documentation is included explaining the many Scheme Language
+extensions in scm, the internal representation and how to extend or
+include scm in other programs.
+
+SLIB is a portable Scheme library which SCM uses.
+
+SLIB-PSD is a portable debugger for Scheme (requires emacs editor).
+
+-------------------Readme.FreeBSD------------------------
+
+1. Pathname dependencies:
+ The init file is hardcoded as /usr/local/lib/scm/Init.scm.
+ Alternatively, one can set the environment variable SCM_INIT_PATH to
+ the pathname of Init.scm.
+
+ The library files are in /usr/local/lib/slib. Alternatively,
+ one can set the environment variable SCHEME_LIBRARY_PATH to
+ the slib directory. Remember to use a trailing / on the
+ pathname.
+
+2. I have -DSICP turn on by default, since I expect this to be the major
+reason for this port. This means test.scm will fail on 3 tests in section 6.1.
+If strict R4S compliance is important to you, recompile w/o the SICP flag.
+
+ Jeffrey Hsu
diff --git a/lang/scm/pkg-plist b/lang/scm/pkg-plist
new file mode 100644
index 000000000000..7bb280e0150f
--- /dev/null
+++ b/lang/scm/pkg-plist
@@ -0,0 +1,11 @@
+@cwd /usr/local
+bin/scm
+man/man1/scm.1
+lib/scm
+lib/slib
+@cwd /usr/gnu/info
+slib.info
+slib.info-1
+slib.info-2
+slib.info-3
+slib.info-4