summaryrefslogtreecommitdiff
path: root/lang/clisp
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-09-06 20:45:35 +0000
committertron <tron@pkgsrc.org>1998-09-06 20:45:35 +0000
commite9636da53747f8c90ba1361a3af012c3d67240e3 (patch)
treea0d5c3f3b7a92476879b3411dece36173d162eb6 /lang/clisp
parentbbba212419a16d09c8766c263526816457e42cce (diff)
downloadpkgsrc-e9636da53747f8c90ba1361a3af012c3d67240e3.tar.gz
New "clisp" package created by Martin J. Laubach:
CLISP, a Common Lisp implementation.
Diffstat (limited to 'lang/clisp')
-rw-r--r--lang/clisp/Makefile24
-rw-r--r--lang/clisp/files/md53
-rw-r--r--lang/clisp/patches/patch-aa56
-rw-r--r--lang/clisp/pkg/COMMENT1
-rw-r--r--lang/clisp/pkg/DESCR40
-rw-r--r--lang/clisp/pkg/PLIST14
6 files changed, 138 insertions, 0 deletions
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile
new file mode 100644
index 00000000000..33d558caa41
--- /dev/null
+++ b/lang/clisp/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 1998/09/06 20:45:35 tron Exp $
+
+DISTNAME= clispsrc-1998-08-29
+PKGNAME= clisp-19980829
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp2.cons.org/pub/lisp/clisp/snapshots/
+
+MAINTAINER= mjl@emsi.priv.at
+HOMEPAGE= http://clisp.cons.org/~haible/clisp.html
+
+GNU_CONFIGURE= YES
+WRKSRC= ${WRKDIR}/clisp-1998-08-29
+
+post-configure:
+ ( cd ${WRKSRC}/src; \
+ ./makemake --prefix=${LOCALBASE} --with-readline --with-gettext --with-dynamic-ffi > Makefile )
+
+do-build:
+ ( cd ${WRKSRC}/src; ${MAKE_PROGRAM} )
+
+do-install:
+ ( cd ${WRKSRC}/src; ${MAKE_PROGRAM} install )
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/clisp/files/md5 b/lang/clisp/files/md5
new file mode 100644
index 00000000000..40947acdc6f
--- /dev/null
+++ b/lang/clisp/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1 1998/09/06 20:45:35 tron Exp $
+
+MD5 (clispsrc-1998-08-29.tar.gz) = 22c627f393d5da904acec6457be73f71
diff --git a/lang/clisp/patches/patch-aa b/lang/clisp/patches/patch-aa
new file mode 100644
index 00000000000..10ee23bae58
--- /dev/null
+++ b/lang/clisp/patches/patch-aa
@@ -0,0 +1,56 @@
+--- src/makemake.in.orig Sun Aug 9 21:27:13 1998
++++ src/makemake.in Sun Sep 6 21:55:57 1998
+@@ -1034,6 +1034,9 @@
+ *) ;;
+ esac
+ fi
++if [ "$TSYSOS" = "netbsd" ] ; then # NetBSD
++ XCFLAGS=$XCFLAGS' -DNO_GENERATIONAL_GC'
++fi
+
+ if [ $TSYS = sun4 -a $CROSS = false ] ; then
+ ARCH_K=`(arch -k) 2>/dev/null || uname -m 2>/dev/null` # kernel architecture, see arch(1)
+@@ -2326,7 +2329,7 @@
+ if [ $HOS = unix ] ; then
+ echotab "if test -d locale; then rm -rf locale; fi"
+ echotab "mkdir locale"
+- echotab "(cd gettext/po && \$(MAKE) && \$(MAKE) install datadir=../.. localedir='\$\$(datadir)/locale' INSTALL_DATA=ln) || (rm -rf locale ; exit 1)"
++ echotab "(cd gettext/po && \$(MAKE) && \$(MAKE) install datadir=../.. localedir='\$\$(datadir)/locale' INSTALL_DATA=\"ln -f\") || (rm -rf locale ; exit 1)"
+ else
+ echotab "mkdir locale"
+ eval `grep ALL_LINGUAS= src/gettext/configure.in`
+@@ -2842,7 +2845,7 @@
+ fi
+ case "$fsstnd" in
+ gnu_ext)
+- echotab "if [ ! -d \$(mandir)/html ] ; then mkdir \$(mandir)/html ; fi"
++ echotab "if [ ! -d \$(prefix)/share/doc/clisp ] ; then mkdir \$(prefix)/share/doc/clisp ; fi"
+ ;;
+ suse)
+ echotab "if [ ! -d \$(docdir) ] ; then mkdir \$(docdir) ; fi"
+@@ -2894,10 +2897,10 @@
+ fi
+ case "$fsstnd" in
+ gnu_ext)
+- echotab "if [ ! -d \$(mandir)/html ] ; then mkdir \$(mandir)/html ; fi"
+- echotab "\$(INSTALL_DATA) clisp.html \$(mandir)/html/clisp.html"
++ echotab "if [ ! -d \$(prefix)/share/doc/clisp ] ; then mkdir \$(prefix)/share/doc/clisp ; fi"
++ echotab "\$(INSTALL_DATA) clisp.html \$(prefix)/share/doc/clisp/clisp.html"
+ if [ $TERMINAL = readline ] ; then
+- echotab "\$(INSTALL_DATA) clreadline.html \$(mandir)/html/clreadline.html"
++ echotab "\$(INSTALL_DATA) clreadline.html \$(prefix)/share/doc/clisp/clreadline.html"
+ fi
+ ;;
+ suse)
+@@ -2931,9 +2934,9 @@
+ fi
+ case "$fsstnd" in
+ gnu_ext)
+- echotab "\$(RM) \$(mandir)/html/clisp.html"
++ echotab "\$(RM) \$(prefix)/share/doc/clisp/clisp.html"
+ if [ $TERMINAL = readline ] ; then
+- echotab "\$(RM) \$(mandir)/html/clreadline.html"
++ echotab "\$(RM) \$(prefix)/share/doc/clisp/clreadline.html"
+ fi
+ ;;
+ suse)
diff --git a/lang/clisp/pkg/COMMENT b/lang/clisp/pkg/COMMENT
new file mode 100644
index 00000000000..635a314a6c5
--- /dev/null
+++ b/lang/clisp/pkg/COMMENT
@@ -0,0 +1 @@
+CLISP, a Common Lisp implementation.
diff --git a/lang/clisp/pkg/DESCR b/lang/clisp/pkg/DESCR
new file mode 100644
index 00000000000..1b6e48aade2
--- /dev/null
+++ b/lang/clisp/pkg/DESCR
@@ -0,0 +1,40 @@
+ Common Lisp CLISP
+
+Common Lisp is
+ * a convential programming language and an AI language
+ * interactive
+ * a Lisp for professional use
+
+Common Lisp programs are
+ * easy to test (interactive)
+ * easy to maintain (depending on programming style)
+ * portable (there is a standard for the language and the library functions)
+
+Our Common Lisp CLISP
+ * needs only 2 MB of memory
+ * implements 99% of the CLtL1 standard, as well as some extensions
+ * can call your preferred editor
+ * is freely distributable
+
+Common Lisp provides
+ * clear syntax, carefully designed semantics
+ * several data types: numbers, strings, arrays, lists, characters, symbols,
+ structures, streams etc.
+ * runtime typing: the programmer needn't bother about type declarations,
+ but he gets notified on type violations.
+ * many generic functions:
+ 88 arithmetic functions for all kinds of numbers (integers, ratios,
+ floating point numbers, complex numbers),
+ 44 search/filter/sort functions for lists, arrays and strings
+ * automatic memory management (garbage collection)
+ * packaging of programs into modules
+ * an object system, generic functions with powerful method combination
+ * macros: every programmer can make his own language extensions
+
+Our Common Lisp CLISP provides
+ * an interpreter
+ * a compiler which makes execution of programs 5 times faster
+ * all data types with unlimited size (the size need never be declared,
+ the size of lists and arrays may be changed dynamically)
+ * integers of arbitrary length, unlimited floating point number precision
+ * 594 library functions, 542 of them written in C
diff --git a/lang/clisp/pkg/PLIST b/lang/clisp/pkg/PLIST
new file mode 100644
index 00000000000..d7090d20f12
--- /dev/null
+++ b/lang/clisp/pkg/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 1998/09/06 20:45:35 tron Exp $
+bin/clisp
+lib/lisp/lisp.run
+lib/lisp/lispinit.mem
+@dirrm lib/lisp
+man/man1/clisp.1
+man/man3/clreadline.3
+share/doc/clisp/clisp.html
+share/doc/clisp/clreadline.html
+@dirrm share/doc/clisp
+share/locale/en/LC_MESSAGES/clisp.mo
+share/locale/de/LC_MESSAGES/clisp.mo
+share/locale/fr/LC_MESSAGES/clisp.mo
+share/locale/es/LC_MESSAGES/clisp.mo