From d327010f43295d3ac433ae60fd3b4eeade6c4025 Mon Sep 17 00:00:00 2001 From: jtb Date: Mon, 4 Dec 2000 23:47:35 +0000 Subject: Initial import of new "vslisp" package: Embedded Lisp library and standalone interpreter --- lang/vslisp/Makefile | 26 +++++++ lang/vslisp/files/md5 | 3 + lang/vslisp/files/patch-sum | 4 ++ lang/vslisp/patches/patch-aa | 17 +++++ lang/vslisp/patches/patch-ab | 162 +++++++++++++++++++++++++++++++++++++++++++ lang/vslisp/pkg/COMMENT | 1 + lang/vslisp/pkg/DESCR | 12 ++++ lang/vslisp/pkg/PLIST | 17 +++++ 8 files changed, 242 insertions(+) create mode 100644 lang/vslisp/Makefile create mode 100644 lang/vslisp/files/md5 create mode 100644 lang/vslisp/files/patch-sum create mode 100644 lang/vslisp/patches/patch-aa create mode 100644 lang/vslisp/patches/patch-ab create mode 100644 lang/vslisp/pkg/COMMENT create mode 100644 lang/vslisp/pkg/DESCR create mode 100644 lang/vslisp/pkg/PLIST diff --git a/lang/vslisp/Makefile b/lang/vslisp/Makefile new file mode 100644 index 00000000000..47c3a305404 --- /dev/null +++ b/lang/vslisp/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/04 23:47:35 jtb Exp $ + +DISTNAME= vslisp-4.0-1 +PKGNAME= vslisp-4.0.1 +CATEGORIES= lang +MASTER_SITES= ftp://ftp.sourceforge.net/pub/sourceforge/vslisp/ + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://vslisp.sourceforge.net + +WRKSRC= ${WRKDIR}/vslisp-4.0 +GNU_CONFIGURE= YES +USE_LIBTOOL= YES +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vslisp + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vslisp/html + @for d in Colors.txt ColorsDemo.txt lisp.sgml ; do \ + ${INSTALL_DATA} ${WRKSRC}/Documentation/$$d \ + ${PREFIX}/share/doc/vslisp; done + ${INSTALL_DATA} ${WRKSRC}/Documentation/html/* \ + ${PREFIX}/share/doc/vslisp/html + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/vslisp/files/md5 b/lang/vslisp/files/md5 new file mode 100644 index 00000000000..df2ad4d6f9e --- /dev/null +++ b/lang/vslisp/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/04 23:47:35 jtb Exp $ + +MD5 (vslisp-4.0-1.tar.gz) = 3df4884bf783aa5a12309f0401aa88ba diff --git a/lang/vslisp/files/patch-sum b/lang/vslisp/files/patch-sum new file mode 100644 index 00000000000..3dfb587318f --- /dev/null +++ b/lang/vslisp/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/12/04 23:47:35 jtb Exp $ + +MD5 (patch-aa) = 9a17267649db2283ca2b6603d4ba0e3e +MD5 (patch-ab) = 7673e941dfb8fee29e2bc2764b8d6aa8 diff --git a/lang/vslisp/patches/patch-aa b/lang/vslisp/patches/patch-aa new file mode 100644 index 00000000000..29820a6fda8 --- /dev/null +++ b/lang/vslisp/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/12/04 23:47:35 jtb Exp $ + +--- MKDefs.in.orig Sun May 7 20:20:11 2000 ++++ MKDefs.in +@@ -12,10 +12,10 @@ + VSLVER=@VSLISP_MAJOR_VERSION@.@VSLISP_MINOR_VERSION@-@VSLISP_MICRO_VERSION@ + + CC= @CC@ +-OPT = @CFLAGS@ @XX_CFLAGS@ -DUSE_THREADS -c ++OPT = @CFLAGS@ @XX_CFLAGS@ -c + OSOPT = -DOS='"@target_os@"' -DCPU='"@target_cpu@"' + LOPT= -o +-INSTALL= install ++INSTALL= install -c + + PREFIX= @prefix@ + VSLIBPATH= @prefix@/lib diff --git a/lang/vslisp/patches/patch-ab b/lang/vslisp/patches/patch-ab new file mode 100644 index 00000000000..156b5bf9d8b --- /dev/null +++ b/lang/vslisp/patches/patch-ab @@ -0,0 +1,162 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/12/04 23:47:37 jtb Exp $ + +--- src/Makefile.orig Tue Nov 21 19:22:45 2000 ++++ src/Makefile +@@ -24,91 +24,91 @@ + + # LSer - just a test SERVER programm + LSer: iser.lo lser.lo libvslisp$(HIVER).la +- ../libtool --mode=link $(CC) $(LOPT) LSer lser.lo iser.lo libvslisp$(HIVER).la \ ++ @$(LIBTOOL) --mode=link $(CC) $(LOPT) LSer lser.lo iser.lo libvslisp$(HIVER).la \ + $(LDLIBS) + + lser.lo: inet/lser.c +- ../libtool --mode=compile $(CC) $(OPT) inet/lser.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) inet/lser.c + + iser.lo: inet/iser.c +- ../libtool --mode=compile $(CC) $(OPT) inet/iser.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) inet/iser.c + + bin2c: bin2c.lo + $(RM) bin2c +- ../libtool --mode=link $(CC) $(LOPT) bin2c bin2c.lo ++ @$(LIBTOOL) --mode=link $(CC) $(LOPT) bin2c bin2c.lo + + bin2c.lo: bin2c.c +- ../libtool --mode=compile $(CC) $(OPT) bin2c.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) bin2c.c + + mkfuns: mkfuns.c + $(CC) mkfuns.c -o mkfuns + + cfish.lo: cfish.c +- ../libtool --mode=compile $(CC) $(OPT) cfish.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) cfish.c + + newhash.lo: newhash.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) newhash.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) newhash.c + + cnofish.lo: cnofish.c +- ../libtool --mode=compile $(CC) $(OPT) cnofish.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) cnofish.c + + VSLisp0: ilisp.lo $(LLOBJ) cfish.lo + $(RM) VSLisp0 +- ../libtool --mode=link $(CC) $(LOPT) VSLisp0 ilisp.lo $(LLOBJ) \ ++ @$(LIBTOOL) --mode=link $(CC) $(LOPT) VSLisp0 ilisp.lo $(LLOBJ) \ + cfish.lo $(LDLIBS) + + ilisp_d.lo: ilisp.c + rm -f ilisp_d.c + cp ilisp.c ilisp_d.c +- ../libtool --mode=compile $(CC) -DL3DYN=1 $(OPT) ilisp_d.c ++ @$(LIBTOOL) --mode=compile $(CC) -DL3DYN=1 $(OPT) ilisp_d.c + rm -f ilisp_d.c + + VSLisp: ilisp_d.lo cnofish.lo libvslisp$(HIVER).la +- ../libtool --mode=link $(CC) $(LOPT) VSLisp ilisp_d.lo cnofish.lo \ ++ @$(LIBTOOL) --mode=link $(CC) $(LOPT) VSLisp ilisp_d.lo cnofish.lo \ + libvslisp$(HIVER).la $(LDLIBS) + + colorslib.lo: lsrc/colorslib.l $(LSP0DEP) $(B2CDEP) + $(LSP0) -i lsrc/colorslib.l + $(B2C) colorslib.lc colorslib.c colorslib + $(RM) colorslib.lc +- ../libtool --mode=compile $(CC) $(OPT) colorslib.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) colorslib.c + $(RM) colorslib.c + + libvslisp$(HIVER).la: $(LLOBJ) funcld.lo colorslib.lo +- ../libtool --mode=link $(CC) $(LOPT) libvslisp$(HIVER).la colorslib.lo \ ++ @$(LIBTOOL) --mode=link $(CC) $(LOPT) libvslisp$(HIVER).la colorslib.lo \ + cnofish.lo \ + funcld.lo $(LLOBJ) -rpath $(LIBDIR) $(LDLIBS) \ + -version-info $(LDRELEASE) + + lcore.lo: lcore.c l_defs.h +- ../libtool --mode=compile $(CC) $(OSOPT) $(OPT) lcore.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OSOPT) $(OPT) lcore.c + + funcf.lo: functions/funcf.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) functions/funcf.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) functions/funcf.c + + funcld.lo: functions/funcld.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) functions/funcld.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) functions/funcld.c + + funcn.lo: funcn.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) funcn.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) funcn.c + + colors.lo: colors.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) colors.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) colors.c + + lc.lo: lc.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) lc.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) lc.c + + funcm.lo: funcm.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) funcm.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) funcm.c + + ilisp.lo: ilisp.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) ilisp.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) ilisp.c + + funct.lo: funct.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) funct.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) funct.c + + funcs.lo: funcs.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) funcs.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) funcs.c + + funct.c: functions/funct.c mkfuns + ./mkfuns funstmp < functions/funct.c > funct.c +@@ -127,19 +127,19 @@ + rm -f funstmp + + lmem.lo: lmem.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) lmem.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) lmem.c + + forms1.lo: forms1.c l_defs.h +- ../libtool --mode=compile $(CC) $(OPT) forms1.c ++ @$(LIBTOOL) --mode=compile $(CC) $(OPT) forms1.c + + test.lo: test.cpp lisp.hpp l_defs.h +- ../libtool $(CCPP) $(OPT) test.cpp ++ @$(LIBTOOL) $(CCPP) $(OPT) test.cpp + + lisp.lo: lisp.cpp lisp.hpp l_defs.h +- ../libtool $(CCPP) $(OPT) lisp.cpp ++ @$(LIBTOOL) $(CCPP) $(OPT) lisp.cpp + + test: test.lo lisp.lo libvslisp$(HIVER).la +- ../libtool $(CCPP) $(LOPT) test test.lo lisp.lo libvslisp$(HIVER).la \ ++ @$(LIBTOOL) $(CCPP) $(LOPT) test test.lo lisp.lo libvslisp$(HIVER).la \ + $(LDLIBS) + + clean: +@@ -168,14 +168,14 @@ + mkdir -p $(PREFIX)/bin/ + mkdir -p $(PREFIX)/lib/ + mkdir -p $(PREFIX)/include/ +- ../libtool --mode=install $(INSTALL) -s VSLisp $(PREFIX)/bin/ +- ../libtool --mode=install $(INSTALL) -s -m 644 libvslisp$(HIVER).la \ ++ @$(LIBTOOL) --mode=install $(INSTALL) -s VSLisp $(PREFIX)/bin/ ++ @$(LIBTOOL) --mode=install $(INSTALL) -s -m 644 libvslisp$(HIVER).la \ + $(PREFIX)/lib/libvslisp$(HIVER).la + cp l_defs.h $(PREFIX)/include/ + + uninstall: + rm -f $(PREFIX)/bin/VSLisp +- ../libtool --mode=uninstall rm -f $(PREFIX)/lib/libvslisp$(HIVER).la ++ @$(LIBTOOL) --mode=uninstall rm -f $(PREFIX)/lib/libvslisp$(HIVER).la + + + diff --git a/lang/vslisp/pkg/COMMENT b/lang/vslisp/pkg/COMMENT new file mode 100644 index 00000000000..85608e1773c --- /dev/null +++ b/lang/vslisp/pkg/COMMENT @@ -0,0 +1 @@ +Embedded Lisp library and standalone interpreter diff --git a/lang/vslisp/pkg/DESCR b/lang/vslisp/pkg/DESCR new file mode 100644 index 00000000000..5bdd4875955 --- /dev/null +++ b/lang/vslisp/pkg/DESCR @@ -0,0 +1,12 @@ +VSLisp is an embedded Lisp library and standalone interpreter. It's +very small, and runs on many platforms. It was developed as a graphics +scripting language for VMS, but now its development goes under Unix, +and old Graph library is not supported now. + +VSLisp is not Scheme or Common Lisp compatible. Surely, you can +customize it to look like one of them, but by default VSLisp is a yet +another Lisp dialect, and to work with it you'll need to understand +the difference. + +VSLisp is distributed under the the terms of the GNU General Public License +version 2. diff --git a/lang/vslisp/pkg/PLIST b/lang/vslisp/pkg/PLIST new file mode 100644 index 00000000000..1ab8bc2fa23 --- /dev/null +++ b/lang/vslisp/pkg/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/04 23:47:35 jtb Exp $ +bin/VSLisp +include/l_defs.h +lib/libvslisp4.a +lib/libvslisp4.la +lib/libvslisp4.so.4.1 +share/doc/vslisp/Colors.txt +share/doc/vslisp/ColorsDemo.txt +share/doc/vslisp/html/lisp-1.html +share/doc/vslisp/html/lisp-2.html +share/doc/vslisp/html/lisp-3.html +share/doc/vslisp/html/lisp-4.html +share/doc/vslisp/html/lisp-5.html +share/doc/vslisp/html/lisp.html +share/doc/vslisp/lisp.sgml +@dirrm share/doc/vslisp/html +@dirrm share/doc/vslisp -- cgit v1.2.3