aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-28 18:57:21 +0800
committeredwin <edwin@FreeBSD.org>2003-09-28 18:57:21 +0800
commit6cdecd255c32967d85b97e48dee46105a1f4e355 (patch)
tree9c56e4ed84b219905bb874151805a683662cfadd /lang
parenta62b462f232ce396e1807edcbd54ecabb7d57a07 (diff)
downloadfreebsd-ports-gnome-6cdecd255c32967d85b97e48dee46105a1f4e355.tar.gz
freebsd-ports-gnome-6cdecd255c32967d85b97e48dee46105a1f4e355.tar.zst
freebsd-ports-gnome-6cdecd255c32967d85b97e48dee46105a1f4e355.zip
New port: ArrowLISP - purely symbolic LISP interpreter and IDE
ArrowLISP is a small, properly tail-recursive, dynamically scoped interpreter for a purely symbolic and almost side-effect-free dialect of LISP. It may be considered an implementation of pure LISP. The interpreter has both a command line interface and an editor-like full screen interface. PR: ports/55501 Submitted by: Nils M Holm <nmh@t3x.org>
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/alisp/Makefile36
-rw-r--r--lang/alisp/distinfo1
-rw-r--r--lang/alisp/files/patch-Makefile41
-rw-r--r--lang/alisp/pkg-descr12
-rw-r--r--lang/alisp/pkg-plist93
6 files changed, 184 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 537f6a64a691..b5453e92319c 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -7,6 +7,7 @@
SUBDIR += Sather
SUBDIR += TenDRA
SUBDIR += aleph
+ SUBDIR += alisp
SUBDIR += atlast
SUBDIR += awka
SUBDIR += bf2c
diff --git a/lang/alisp/Makefile b/lang/alisp/Makefile
new file mode 100644
index 000000000000..828c402ef1e8
--- /dev/null
+++ b/lang/alisp/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: ArrowLISP
+# Date created: 12 Aug 2003
+# Whom: Nils M Holm <nmh@t3x.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= alisp
+PORTVERSION= 8
+CATEGORIES= lang devel
+MASTER_SITES= http://t3x.dyndns.org/files/ \
+ http://www.t3x.org/files/
+DISTNAME= alisp${PORTVERSION}
+
+MAINTAINER= nmh@t3x.org
+COMMENT= A tail-recursive interpreter for purely symbolic LISP
+
+BUILD_DEPENDS= tx:${PORTSDIR}/lang/t3x \
+ ${LOCALBASE}/t3x/r8/tide:${PORTSDIR}/devel/tide
+
+MAN7= alisp.7
+MANCOMPRESSED= no
+
+MAKE_ENV+= T3XDIR=${LOCALBASE}/t3x/r8
+
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} \
+ -e 's,/usr/local,${PREFIX},g' \
+ ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} \
+ -e 's,/usr/local,${PREFIX},g' \
+ ${WRKSRC}/cnf/dfl_unix.rc
+
+.include <bsd.port.mk>
diff --git a/lang/alisp/distinfo b/lang/alisp/distinfo
new file mode 100644
index 000000000000..5bbf4244eae3
--- /dev/null
+++ b/lang/alisp/distinfo
@@ -0,0 +1 @@
+MD5 (alisp8.tar.gz) = b973ac56592d32b874bf1a954207d7be
diff --git a/lang/alisp/files/patch-Makefile b/lang/alisp/files/patch-Makefile
new file mode 100644
index 000000000000..819671892ab2
--- /dev/null
+++ b/lang/alisp/files/patch-Makefile
@@ -0,0 +1,41 @@
+--- Makefile.orig Sun Sep 28 03:53:06 2003
++++ Makefile Sun Sep 28 03:53:57 2003
+@@ -51,22 +51,22 @@
+
+ install:
+ strip alisp iai
+- install -o bin -g bin -d -m 0755 $(SHRDIR)
+- install -o bin -g bin -d -m 0755 $(SHRDIR)/lib
+- install -o bin -g bin -d -m 0755 $(SHRDIR)/src
+- install -o bin -g bin -d -m 0755 $(DOCDIR)
+- install -o bin -g bin -C -m 0755 alisp $(BINDIR)
+- install -o bin -g bin -C -m 0755 iai $(BINDIR)
+- install -o bin -g bin -C -m 0755 iai_pfmt $(BINDIR)
+- install -o bin -g bin -C -m 0755 iai_color $(BINDIR)
+- install -o bin -g bin -C -m 0755 util/alisp_install $(BINDIR)
+- install -o bin -g bin -C -m 0644 doc/alisp.7 $(MANDIR)
+- install -o bin -g bin -C -m 0644 doc/helpfile $(DOCDIR)
+- install -o bin -g bin -C -m 0644 doc/alisp.sd $(DOCDIR)
+- install -o bin -g bin -C -m 0644 cnf/dfl_unix.rc $(SHRDIR)/default.rc
+- install -o bin -g bin -C -m 0644 cnf/monochrm.rc $(SHRDIR)
+- install -o bin -g bin -C -m 0644 lib/*.l $(SHRDIR)/lib
+- install -o bin -g bin -C -m 0644 src/*.l $(SHRDIR)/src
++ install -o ${BINOWN} -g ${BINGRP} -d -m 0755 $(SHRDIR)
++ install -o ${BINOWN} -g ${BINGRP} -d -m 0755 $(SHRDIR)/lib
++ install -o ${BINOWN} -g ${BINGRP} -d -m 0755 $(SHRDIR)/src
++ install -o ${BINOWN} -g ${BINGRP} -d -m 0755 $(DOCDIR)
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0755 alisp $(BINDIR)
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0755 iai $(BINDIR)
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0755 iai_pfmt $(BINDIR)
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0755 iai_color $(BINDIR)
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0755 util/alisp_install $(BINDIR)
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0644 doc/alisp.7 $(MANDIR)
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0644 doc/helpfile $(DOCDIR)
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0644 doc/alisp.sd $(DOCDIR)
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0644 cnf/dfl_unix.rc $(SHRDIR)/default.rc
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0644 cnf/monochrm.rc $(SHRDIR)
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0644 lib/*.l $(SHRDIR)/lib
++ install -o ${BINOWN} -g ${BINGRP} -C -m 0644 src/*.l $(SHRDIR)/src
+ rm -f alisp.1.gz
+
+ dist:
diff --git a/lang/alisp/pkg-descr b/lang/alisp/pkg-descr
new file mode 100644
index 000000000000..b60648d2c282
--- /dev/null
+++ b/lang/alisp/pkg-descr
@@ -0,0 +1,12 @@
+ArrowLISP is a purely symbolic, properly tail-recursive, dynamically
+scoped and (mostly) side-effect-free implementation of LISP. It may
+be considered an implementation of pure LISP (plus DEFINE and DEFUN).
+
+This package contains
+
+- the ArrowLISP interpreter
+- IAI, the Interactive ArrowLISP interface (TTY-based IDE)
+- a library containing many frequently used LISP functions
+- some example programs
+
+WWW: http://www.t3x.org/LISP/ALISP
diff --git a/lang/alisp/pkg-plist b/lang/alisp/pkg-plist
new file mode 100644
index 000000000000..41b51c9b35e7
--- /dev/null
+++ b/lang/alisp/pkg-plist
@@ -0,0 +1,93 @@
+bin/alisp
+bin/alisp_install
+bin/iai
+bin/iai_color
+bin/iai_pfmt
+share/alisp/default.rc
+share/alisp/lib/abs.l
+share/alisp/lib/alisp.l
+share/alisp/lib/append.l
+share/alisp/lib/assoc.l
+share/alisp/lib/caaaar.l
+share/alisp/lib/caaar.l
+share/alisp/lib/caar.l
+share/alisp/lib/difference.l
+share/alisp/lib/digits.l
+share/alisp/lib/divide.l
+share/alisp/lib/equal.l
+share/alisp/lib/expt.l
+share/alisp/lib/fac.l
+share/alisp/lib/filter.l
+share/alisp/lib/gcd.l
+share/alisp/lib/greaterp.l
+share/alisp/lib/idifference.l
+share/alisp/lib/idivide.l
+share/alisp/lib/iexpt.l
+share/alisp/lib/igreaterp.l
+share/alisp/lib/ilessp.l
+share/alisp/lib/imath.l
+share/alisp/lib/imax.l
+share/alisp/lib/imin.l
+share/alisp/lib/insert.l
+share/alisp/lib/integer.l
+share/alisp/lib/intersection.l
+share/alisp/lib/iplus.l
+share/alisp/lib/iquotient.l
+share/alisp/lib/iremainder.l
+share/alisp/lib/itimes.l
+share/alisp/lib/length.l
+share/alisp/lib/lessp.l
+share/alisp/lib/logop.l
+share/alisp/lib/map.l
+share/alisp/lib/mapcar.l
+share/alisp/lib/maplist.l
+share/alisp/lib/math.l
+share/alisp/lib/max.l
+share/alisp/lib/member.l
+share/alisp/lib/min.l
+share/alisp/lib/minus.l
+share/alisp/lib/minusp.l
+share/alisp/lib/natural.l
+share/alisp/lib/naturalp.l
+share/alisp/lib/normalize.l
+share/alisp/lib/numberp.l
+share/alisp/lib/o.l
+share/alisp/lib/orderedp.l
+share/alisp/lib/pair.l
+share/alisp/lib/permute.l
+share/alisp/lib/plus.l
+share/alisp/lib/pred.l
+share/alisp/lib/product.l
+share/alisp/lib/quotient.l
+share/alisp/lib/reduce.l
+share/alisp/lib/remainder.l
+share/alisp/lib/remove.l
+share/alisp/lib/reverse.l
+share/alisp/lib/sassoc.l
+share/alisp/lib/sort.l
+share/alisp/lib/sublis.l
+share/alisp/lib/subst.l
+share/alisp/lib/succ.l
+share/alisp/lib/sum.l
+share/alisp/lib/times.l
+share/alisp/lib/union.l
+share/alisp/lib/unique.l
+share/alisp/lib/zerop.l
+share/alisp/monochrm.rc
+share/alisp/src/bottles.l
+share/alisp/src/bubblesort.l
+share/alisp/src/evaluate.l
+share/alisp/src/hanoi.l
+share/alisp/src/infix.l
+share/alisp/src/prefix.l
+share/alisp/src/prolog.l
+share/alisp/src/queens.l
+share/alisp/src/quicksort.l
+share/alisp/src/unlabel.l
+share/alisp/src/xeval.l
+share/doc/alisp/alisp.sd
+share/doc/alisp/helpfile
+@dirrm share/alisp/lib
+@dirrm share/alisp/src
+@dirrm share/alisp
+@dirrm share/doc/alisp