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 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