1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

scm - a scheme interpreter

This commit is contained in:
Jeffrey Hsu 1994-11-06 09:59:26 +00:00
parent a6f3e7f6a2
commit e3eac5f1de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329
4 changed files with 70 additions and 0 deletions

26
lang/scm/Makefile Normal file
View File

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

1
lang/scm/pkg-comment Normal file
View File

@ -0,0 +1 @@
Scm - a scheme interpreter

32
lang/scm/pkg-descr Normal file
View File

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

11
lang/scm/pkg-plist Normal file
View File

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