aboutsummaryrefslogtreecommitdiffstats
path: root/lang/scm
diff options
context:
space:
mode:
authorhsu <hsu@FreeBSD.org>1994-11-06 17:59:26 +0800
committerhsu <hsu@FreeBSD.org>1994-11-06 17:59:26 +0800
commit197e56d43752d0ce1d52f526f841de8adf5f007c (patch)
tree3f9e615224f7ab094ecc072b8e04edbd6db08d1d /lang/scm
parenteb622c88af0d68c202ebb078b0aeb3ee098edf2b (diff)
downloadfreebsd-ports-gnome-197e56d43752d0ce1d52f526f841de8adf5f007c.tar.gz
freebsd-ports-gnome-197e56d43752d0ce1d52f526f841de8adf5f007c.tar.zst
freebsd-ports-gnome-197e56d43752d0ce1d52f526f841de8adf5f007c.zip
scm - a scheme interpreter
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