diff options
author | jtb <jtb> | 2001-05-15 21:21:45 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-05-15 21:21:45 +0000 |
commit | 4b725dbe20c9b6ceffa0cf5fd806e2df3cd57f26 (patch) | |
tree | e31d83356fe59e4291ac762566a925be60ee5437 | |
parent | 05a39537fa1603dcc1d1b4cc08d72894ad6e0940 (diff) | |
download | pkgsrc-4b725dbe20c9b6ceffa0cf5fd806e2df3cd57f26.tar.gz |
Initial import of a60.
From the documentation:
This Algol 60 interpreter is based upon the "Revised Report on the
Algorithmic Language Algol 60" [RRA60].
At school, a long time ago, I learned Algol 60 in a completely
theoretical manner. Later I learned Algol 68 and C (and more ...).
The concept of call-by-name never left my mind, and so I started to
write this Algol 60 interpreter: Made for fun and a call-by-name.
-rw-r--r-- | lang/a60/Makefile | 31 | ||||
-rw-r--r-- | lang/a60/distinfo | 3 | ||||
-rw-r--r-- | lang/a60/patches/patch-aa | 31 | ||||
-rw-r--r-- | lang/a60/patches/patch-ab | 15 | ||||
-rw-r--r-- | lang/a60/patches/patch-ac | 17 | ||||
-rw-r--r-- | lang/a60/pkg/DESCR | 10 | ||||
-rw-r--r-- | lang/a60/pkg/PLIST | 27 |
7 files changed, 134 insertions, 0 deletions
diff --git a/lang/a60/Makefile b/lang/a60/Makefile new file mode 100644 index 00000000000..de605d3ff20 --- /dev/null +++ b/lang/a60/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/05/15 21:21:45 jtb Exp $ + +DISTNAME= a60-0.20a +CATEGORIES= lang +MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/algol60/ + +MAINTAINER= packages@netbsd.org +COMMENT= Algol 60 interpreter + +GNU_CONFIGURE= yes + +CPPFLAGS+= -Dunix +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" + +INFO_FILES= RRA60.info a60.info + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/a60 ${PREFIX}/bin/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/a60/ + ${INSTALL_DATA} ${WRKSRC}/a60-mkc.inc ${PREFIX}/share/a60/ + cd ${WRKSRC} && ${INSTALL_DATA} a60.info RRA60.info ${PREFIX}/info + ${INSTALL_MAN} ${WRKSRC}/a60.man ${PREFIX}/man/man1/a60.1 + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/a60/ + cd ${WRKSRC}/examples && ${INSTALL_DATA} *.a60 README \ + ${PREFIX}/share/examples/a60/ + ${INSTALL_DATA} ${WRKSRC}/xa60.* ${PREFIX}/share/examples/a60/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/a60/ + cd ${WRKSRC} && ${INSTALL_DATA} a60.ps RRA60.ps \ + ${PREFIX}/share/doc/a60/ + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/a60/distinfo b/lang/a60/distinfo new file mode 100644 index 00000000000..6a9fa400493 --- /dev/null +++ b/lang/a60/distinfo @@ -0,0 +1,3 @@ +SHA1 (patch-aa) = 2f35e63c866ab720771c198af54199e296310c81 +SHA1 (patch-ab) = 5808796f29e2bd0056abf3e780c82d0740539206 +SHA1 (patch-ac) = 069546013d35b22048675ce69e3b8ad20e65e85c diff --git a/lang/a60/patches/patch-aa b/lang/a60/patches/patch-aa new file mode 100644 index 00000000000..6b7d67d1934 --- /dev/null +++ b/lang/a60/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/05/15 21:21:45 jtb Exp $ + +--- Makefile.in.orig Mon Jul 12 08:15:42 1999 ++++ Makefile.in +@@ -66,13 +66,15 @@ + DEFS = -DHAVE_CONFIG_H + ## + ++CPPFLAGS= @CPPFLAGS@ ++ + ## + ## Flags for debugging and production: + ## + # FLAGS = -g +-FLAGS = -O ++# FLAGS = -O + # LDFLAGS = -g +-LDFLAGS = ++LDFLAGS = @LDFLAGS@ + + ## Uncomment for profiling: + # PROF = -pg +@@ -148,7 +150,7 @@ + SRCS = $(ISRCS) $(MSRCS) + HDRS = $(IHDRS) $(MHDRS) + +-CFLAGS = $(FLAGS) $(PROF) $(WARN) $(DEFS) $(LIBDIRPATH) ++CFLAGS += $(PROF) $(WARN) $(DEFS) $(LIBDIRPATH) + XCFLAGS = $(FLAGS) $(PROF) $(DEFS) $(LIBDIRPATH) + + ## diff --git a/lang/a60/patches/patch-ab b/lang/a60/patches/patch-ab new file mode 100644 index 00000000000..dede9760ef9 --- /dev/null +++ b/lang/a60/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/05/15 21:21:45 jtb Exp $ + +--- RRA60.info.orig Tue May 15 16:54:51 2001 ++++ RRA60.info +@@ -2,6 +2,10 @@ + produced by latexinfo-format-buffer + from file: RRA60.texinfo + ++INFO-DIR-SECTION Algol ++START-INFO-DIR-ENTRY ++* RRA60: (RRA60). Revised Report on the Algorithmic Language Algol 60 ++END-INFO-DIR-ENTRY + + + diff --git a/lang/a60/patches/patch-ac b/lang/a60/patches/patch-ac new file mode 100644 index 00000000000..8622dd77545 --- /dev/null +++ b/lang/a60/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/05/15 21:21:45 jtb Exp $ + +--- a60.info.orig Tue May 15 16:54:43 2001 ++++ a60.info +@@ -1,6 +1,12 @@ + This is Info file a60.info, produced by Makeinfo-1.64 from the input + file a60.texinfo. + ++INFO-DIR-SECTION Algol ++START-INFO-DIR-ENTRY ++* a60: (a60). Algol 60 Interpreter ++END-INFO-DIR-ENTRY ++ ++ + + File: a60.info, Node: Top, Next: Goal, Prev: References, Up: (dir) + diff --git a/lang/a60/pkg/DESCR b/lang/a60/pkg/DESCR new file mode 100644 index 00000000000..d9c222176fa --- /dev/null +++ b/lang/a60/pkg/DESCR @@ -0,0 +1,10 @@ +From the documentation: + + This Algol 60 interpreter is based upon the "Revised Report on the +Algorithmic Language Algol 60" [RRA60]. + + At school, a long time ago, I learned Algol 60 in a completely +theoretical manner. Later I learned Algol 68 and C (and more ...). + + The concept of call-by-name never left my mind, and so I started to +write this Algol 60 interpreter: Made for fun and a call-by-name. diff --git a/lang/a60/pkg/PLIST b/lang/a60/pkg/PLIST new file mode 100644 index 00000000000..4e7d6d77ed7 --- /dev/null +++ b/lang/a60/pkg/PLIST @@ -0,0 +1,27 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/15 21:21:45 jtb Exp $ +bin/a60 +@unexec install-info --delete %D/info/RRA60.info %D/info/dir +@unexec install-info --delete %D/info/a60.info %D/info/dir +info/RRA60.info +info/a60.info +@exec install-info %D/info/RRA60.info %D/info/dir +@exec install-info %D/info/a60.info %D/info/dir +man/man1/a60.1 +share/a60/a60-mkc.inc +share/doc/a60/a60.ps +share/doc/a60/RRA60.ps +share/examples/a60/321.a60 +share/examples/a60/README +share/examples/a60/inout.a60 +share/examples/a60/nqueen.a60 +share/examples/a60/prim.a60 +share/examples/a60/rand.a60 +share/examples/a60/serp.a60 +share/examples/a60/teul1.a60 +share/examples/a60/teul2.a60 +share/examples/a60/whetstone.a60 +share/examples/a60/xa60.c +share/examples/a60/xa60.man +@dirrm share/examples/a60 +@dirrm share/doc/a60 +@dirrm share/a60 |