From 6c3ac2cd32b1d018a39d5808a4b9ce80977aa285 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Sat, 14 Mar 2009 12:31:05 +0000 Subject: [PATCH] Add s9fes 20090311, a simple and comprehensible Scheme interpreter. PR: ports/131998 Submitted by: Nils M Holm --- lang/Makefile | 1 + lang/s9fes/Makefile | 25 +++++ lang/s9fes/distinfo | 3 + lang/s9fes/pkg-descr | 11 ++ lang/s9fes/pkg-plist | 256 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 296 insertions(+) create mode 100644 lang/s9fes/Makefile create mode 100644 lang/s9fes/distinfo create mode 100644 lang/s9fes/pkg-descr create mode 100644 lang/s9fes/pkg-plist diff --git a/lang/Makefile b/lang/Makefile index 67e3ccc96a8a..87ff1d7084d0 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -285,6 +285,7 @@ SUBDIR += ruby-usersguide SUBDIR += ruby18 SUBDIR += ruby19 + SUBDIR += s9fes SUBDIR += sather-specification SUBDIR += sather-tutorial SUBDIR += sbcl diff --git a/lang/s9fes/Makefile b/lang/s9fes/Makefile new file mode 100644 index 000000000000..173287816b73 --- /dev/null +++ b/lang/s9fes/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: s9fes +# Date created: 23 February 2009 +# Whom: Nils M Holm +# +# $FreeBSD$ +# + +PORTNAME= s9fes +PORTVERSION= 20090311 +CATEGORIES= lang scheme +MASTER_SITES= http://www.t3x.org/s9fes/ + +MAINTAINER= nmh@t3x.org +COMMENT= A simple and comprehensible Scheme interpreter + +WRKSRC= ${WRKDIR}/s9fes + +MAN1= s9.1 +MANCOMPRESSED= yes + +post-patch: + ${REINPLACE_CMD} -e "s,PREFIX=.*,PREFIX=${PREFIX}," ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e "s,LIBDIR=.*,LIBDIR=${DATADIR}," ${WRKSRC}/Makefile + +.include diff --git a/lang/s9fes/distinfo b/lang/s9fes/distinfo new file mode 100644 index 000000000000..49a6f3637450 --- /dev/null +++ b/lang/s9fes/distinfo @@ -0,0 +1,3 @@ +MD5 (s9fes-20090311.tar.gz) = 329338cb6836f3034b05348ca7e958a0 +SHA256 (s9fes-20090311.tar.gz) = 006de52972938e75ea9cd60ebbe3656d3f0ced3fc5cb3fda6fa935c1257a715b +SIZE (s9fes-20090311.tar.gz) = 130393 diff --git a/lang/s9fes/pkg-descr b/lang/s9fes/pkg-descr new file mode 100644 index 000000000000..ae53b823779f --- /dev/null +++ b/lang/s9fes/pkg-descr @@ -0,0 +1,11 @@ +S9fES is an interpreter for a broad subset of (R4RS) Scheme. It is +written in ANSI C (C89) and Scheme and it runs in many popular +environments, including Linux, *BSD, the unmentionable horror, and +Plan 9. + +The S9fES code strives to be simple and comprehensible. It is +particularly interesting to people who want to try Scheme without +having to jump through too many hoops (S9fES is very portable) or +study the implementation of Scheme (in a language other than Scheme). + +WWW: http://www.t3x.org/s9fes/ diff --git a/lang/s9fes/pkg-plist b/lang/s9fes/pkg-plist new file mode 100644 index 000000000000..4f1cea247bfa --- /dev/null +++ b/lang/s9fes/pkg-plist @@ -0,0 +1,256 @@ +bin/s9 +%%DATADIR%%/amk.scm +%%DATADIR%%/bitwise-ops.scm +%%DATADIR%%/combine.scm +%%DATADIR%%/cond-expand.scm +%%DATADIR%%/contrib/format-test.scm +%%DATADIR%%/contrib/format.scm +%%DATADIR%%/contrib/format.txt +%%DATADIR%%/contrib/string-find.scm +%%DATADIR%%/count.scm +%%DATADIR%%/depth.scm +%%DATADIR%%/draw-tree.scm +%%DATADIR%%/exists.scm +%%DATADIR%%/explode.scm +%%DATADIR%%/factor.scm +%%DATADIR%%/factorial.scm +%%DATADIR%%/filter.scm +%%DATADIR%%/flatten.scm +%%DATADIR%%/fluid-let.scm +%%DATADIR%%/for-all.scm +%%DATADIR%%/hash-table.scm +%%DATADIR%%/help.scm +%%DATADIR%%/help/abs +%%DATADIR%%/help/and +%%DATADIR%%/help/append +%%DATADIR%%/help/apply +%%DATADIR%%/help/assoc +%%DATADIR%%/help/assq +%%DATADIR%%/help/assv +%%DATADIR%%/help/begin +%%DATADIR%%/help/booleanp +%%DATADIR%%/help/caaaar +%%DATADIR%%/help/caaadr +%%DATADIR%%/help/caadar +%%DATADIR%%/help/caaddr +%%DATADIR%%/help/caadr +%%DATADIR%%/help/caar +%%DATADIR%%/help/cadaar +%%DATADIR%%/help/cadadr +%%DATADIR%%/help/cadar +%%DATADIR%%/help/caddar +%%DATADIR%%/help/cadddr +%%DATADIR%%/help/caddr +%%DATADIR%%/help/cadr +%%DATADIR%%/help/call-with-input-file +%%DATADIR%%/help/call-with-output-file +%%DATADIR%%/help/car +%%DATADIR%%/help/case +%%DATADIR%%/help/cdaaar +%%DATADIR%%/help/cdaadr +%%DATADIR%%/help/cdaar +%%DATADIR%%/help/cdadar +%%DATADIR%%/help/cdaddr +%%DATADIR%%/help/cdadr +%%DATADIR%%/help/cdar +%%DATADIR%%/help/cddaar +%%DATADIR%%/help/cddadr +%%DATADIR%%/help/cddar +%%DATADIR%%/help/cdddar +%%DATADIR%%/help/cddddr +%%DATADIR%%/help/cdddr +%%DATADIR%%/help/cddr +%%DATADIR%%/help/cdr +%%DATADIR%%/help/char-alphabeticp +%%DATADIR%%/help/char-cieqp +%%DATADIR%%/help/char-cigep +%%DATADIR%%/help/char-cigtp +%%DATADIR%%/help/char-cilep +%%DATADIR%%/help/char-ciltp +%%DATADIR%%/help/char-downcase +%%DATADIR%%/help/char-lower-casep +%%DATADIR%%/help/char-numericp +%%DATADIR%%/help/char-to-integer +%%DATADIR%%/help/char-upcase +%%DATADIR%%/help/char-upper-casep +%%DATADIR%%/help/char-whitespacep +%%DATADIR%%/help/chareqp +%%DATADIR%%/help/chargep +%%DATADIR%%/help/chargtp +%%DATADIR%%/help/charlep +%%DATADIR%%/help/charltp +%%DATADIR%%/help/charp +%%DATADIR%%/help/close-input-port +%%DATADIR%%/help/close-output-port +%%DATADIR%%/help/cond +%%DATADIR%%/help/cons +%%DATADIR%%/help/current-input-port +%%DATADIR%%/help/current-output-port +%%DATADIR%%/help/define +%%DATADIR%%/help/define-macro +%%DATADIR%%/help/define-syntax +%%DATADIR%%/help/delay +%%DATADIR%%/help/delete-file +%%DATADIR%%/help/display +%%DATADIR%%/help/do +%%DATADIR%%/help/eof-objectp +%%DATADIR%%/help/eq +%%DATADIR%%/help/eqp +%%DATADIR%%/help/equalp +%%DATADIR%%/help/eqvp +%%DATADIR%%/help/evenp +%%DATADIR%%/help/expand-macro +%%DATADIR%%/help/expand-quasiquote +%%DATADIR%%/help/expt +%%DATADIR%%/help/file-existsp +%%DATADIR%%/help/fold-left +%%DATADIR%%/help/fold-right +%%DATADIR%%/help/for-each +%%DATADIR%%/help/force +%%DATADIR%%/help/gcd +%%DATADIR%%/help/ge +%%DATADIR%%/help/gensym +%%DATADIR%%/help/gt +%%DATADIR%%/help/help +%%DATADIR%%/help/if +%%DATADIR%%/help/input-portp +%%DATADIR%%/help/integer-to-char +%%DATADIR%%/help/lambda +%%DATADIR%%/help/lcm +%%DATADIR%%/help/le +%%DATADIR%%/help/length +%%DATADIR%%/help/let +%%DATADIR%%/help/letrec +%%DATADIR%%/help/letstar +%%DATADIR%%/help/list +%%DATADIR%%/help/list-ref +%%DATADIR%%/help/list-tail +%%DATADIR%%/help/list-to-string +%%DATADIR%%/help/list-to-vector +%%DATADIR%%/help/listp +%%DATADIR%%/help/load +%%DATADIR%%/help/load-from-library +%%DATADIR%%/help/locate-file +%%DATADIR%%/help/lt +%%DATADIR%%/help/make-string +%%DATADIR%%/help/make-vector +%%DATADIR%%/help/map +%%DATADIR%%/help/map-car +%%DATADIR%%/help/max +%%DATADIR%%/help/member +%%DATADIR%%/help/memq +%%DATADIR%%/help/memv +%%DATADIR%%/help/min +%%DATADIR%%/help/minus +%%DATADIR%%/help/modulo +%%DATADIR%%/help/negativep +%%DATADIR%%/help/newline +%%DATADIR%%/help/not +%%DATADIR%%/help/nullp +%%DATADIR%%/help/number-to-string +%%DATADIR%%/help/numberp +%%DATADIR%%/help/oddp +%%DATADIR%%/help/open-input-file +%%DATADIR%%/help/open-output-file +%%DATADIR%%/help/or +%%DATADIR%%/help/output-portp +%%DATADIR%%/help/pairp +%%DATADIR%%/help/peek-char +%%DATADIR%%/help/plus +%%DATADIR%%/help/positivep +%%DATADIR%%/help/print +%%DATADIR%%/help/procedurep +%%DATADIR%%/help/quasiquote +%%DATADIR%%/help/quote +%%DATADIR%%/help/quotient +%%DATADIR%%/help/read +%%DATADIR%%/help/read-char +%%DATADIR%%/help/remainder +%%DATADIR%%/help/reverse +%%DATADIR%%/help/set-carb +%%DATADIR%%/help/set-cdrb +%%DATADIR%%/help/set-input-portb +%%DATADIR%%/help/set-output-portb +%%DATADIR%%/help/setb +%%DATADIR%%/help/star +%%DATADIR%%/help/starextensionsstar +%%DATADIR%%/help/starlibrary-pathstar +%%DATADIR%%/help/starloadingstar +%%DATADIR%%/help/starstar +%%DATADIR%%/help/string +%%DATADIR%%/help/string-append +%%DATADIR%%/help/string-cieqp +%%DATADIR%%/help/string-cigep +%%DATADIR%%/help/string-cigtp +%%DATADIR%%/help/string-cilep +%%DATADIR%%/help/string-ciltp +%%DATADIR%%/help/string-copy +%%DATADIR%%/help/string-fillb +%%DATADIR%%/help/string-length +%%DATADIR%%/help/string-ref +%%DATADIR%%/help/string-setb +%%DATADIR%%/help/string-to-list +%%DATADIR%%/help/string-to-number +%%DATADIR%%/help/string-to-symbol +%%DATADIR%%/help/stringeqp +%%DATADIR%%/help/stringgep +%%DATADIR%%/help/stringgtp +%%DATADIR%%/help/stringlep +%%DATADIR%%/help/stringltp +%%DATADIR%%/help/stringp +%%DATADIR%%/help/substring +%%DATADIR%%/help/symbol-to-string +%%DATADIR%%/help/symbolp +%%DATADIR%%/help/symbols +%%DATADIR%%/help/syntax-rules +%%DATADIR%%/help/unquote +%%DATADIR%%/help/unquote-splicing +%%DATADIR%%/help/vector +%%DATADIR%%/help/vector-fillb +%%DATADIR%%/help/vector-length +%%DATADIR%%/help/vector-ref +%%DATADIR%%/help/vector-setb +%%DATADIR%%/help/vector-to-list +%%DATADIR%%/help/vectorp +%%DATADIR%%/help/with-input-from-file +%%DATADIR%%/help/with-output-to-file +%%DATADIR%%/help/write +%%DATADIR%%/help/write-char +%%DATADIR%%/help/wrong +%%DATADIR%%/help/zerop +%%DATADIR%%/hyper.scm +%%DATADIR%%/implode.scm +%%DATADIR%%/integer-sqrt.scm +%%DATADIR%%/intersection.scm +%%DATADIR%%/iota.scm +%%DATADIR%%/list-to-set.scm +%%DATADIR%%/make-partitions.scm +%%DATADIR%%/mergesort.scm +%%DATADIR%%/module.scm +%%DATADIR%%/partition.scm +%%DATADIR%%/permute.scm +%%DATADIR%%/pretty-print.scm +%%DATADIR%%/print-code.scm +%%DATADIR%%/programp.scm +%%DATADIR%%/quicksort.scm +%%DATADIR%%/read-file.scm +%%DATADIR%%/read-from-string.scm +%%DATADIR%%/read-line.scm +%%DATADIR%%/records.scm +%%DATADIR%%/regex.scm +%%DATADIR%%/remove.scm +%%DATADIR%%/replace.scm +%%DATADIR%%/s9.image +%%DATADIR%%/s9.scm +%%DATADIR%%/scheme.css +%%DATADIR%%/string-contains.scm +%%DATADIR%%/string-split.scm +%%DATADIR%%/substitute.scm +%%DATADIR%%/sum.scm +%%DATADIR%%/transpose.scm +%%DATADIR%%/union.scm +%%DATADIR%%/write-to-string.scm +%%DATADIR%%/zebra.scm +@dirrm %%DATADIR%%/help +@dirrm %%DATADIR%%/contrib +@dirrm %%DATADIR%%