diff options
author | agc <agc@pkgsrc.org> | 2003-10-04 20:31:23 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2003-10-04 20:31:23 +0000 |
commit | 60447ef6f1c1cbd39c3b9a66eff6f22df075250e (patch) | |
tree | 08ce81b6a8e222381b6cc1688cd08b111e34ca6f /lang/scm/Makefile | |
parent | f9ba2593c6c6be6239470cefa676c037b42b8f71 (diff) | |
download | pkgsrc-60447ef6f1c1cbd39c3b9a66eff6f22df075250e.tar.gz |
You can never have enough scheme interpreters.
Initial import of scm-5d8 into the NetBSD Packages Collection. Provided in
PR 22186 by David S., modified slighly by myself.
Scm is a portable R5RS Scheme implementation written in C.
* Support for SICP, R2RS, R3RS, and R5RS scheme code.
* Is fully documented in TeXinfo form, allowing documentation to be
generated in info, TeX, html, nroff, and troff formats.
* Supports inexact real and complex numbers, 30 bit immediate integers
and large precision integers.
* Many Common Lisp functions: logand, logor, logxor, lognot, ash,
logcount, integer-length, bit-extract, defmacro, macroexpand,
macroexpand1, gentemp, defvar, force-output, software-type,
get-decoded-time, get-internal-run-time, get-internal-real-time,
delete-file, rename-file, copy-tree, acons, and eval.
* Char-code-limit, most-positive-fixnum, most-negative-fixnum, and
internal-time-units-per-second constants. *Features* and
*load-pathname* variables.
* Arrays and bit-vectors. String ports and software emulation ports.
I/O extensions providing ANSI C and POSIX.1 facilities.
* Interfaces to standard libraries
* Available add-on packages including an interactive debugger, database,
X-window graphics, BGI graphics, Motif, and Open-Windows packages.
* A compiler (HOBBIT) and dynamic linking of compiled modules.
* User definable responses to interrupts and errors,
Process-syncronization primitives. Setable levels of monitoring
and timing information printed interactively (the verbose function).
Diffstat (limited to 'lang/scm/Makefile')
-rw-r--r-- | lang/scm/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/lang/scm/Makefile b/lang/scm/Makefile new file mode 100644 index 00000000000..3adae16c8b5 --- /dev/null +++ b/lang/scm/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/10/04 20:31:23 agc Exp $ +# + +DISTNAME= scm5d8 +PKGNAME= scm-5d8 +CATEGORIES= lang +MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/ +EXTRACT_SUFX= .zip + +MAINTAINER= davids@idiom.com +HOMEPAGE= http://www.swiss.ai.mit.edu/~jaffer/SCM.html +COMMENT= Portable scheme interpreter + +DEPENDS+= slib>=2.4.6:../../devel/slib + +USE_GMAKE= # defined +USE_X11= # defined + +WRKSRC= ${WRKDIR}/scm + +ALL_TARGET= scmlit libscm.a +INSTALL_TARGET= install installlib + +INFO_FILES= scm.info hobbit.info Xlibscm.info + +post-patch: + ${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + < ${FILESDIR}/require.scm > ${WRKSRC}/require.scm + +post-build: + ${CAT} ${FILESDIR}/buildscm.sh \ + | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ + | ${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + > ${WRKSRC}/buildscm.sh + cd ${WRKSRC} && ${SH} ./buildscm.sh + +post-install: + ${INSTALL_DATA} ${WRKSRC}/slibcat ${PREFIX}/share/scm + for f in ${INFO_FILES}; do \ + ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/info; \ + done + +.include "../../devel/ncurses/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" |