summaryrefslogtreecommitdiff
path: root/lang/parrot
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-09-13 14:18:03 +0000
committeragc <agc@pkgsrc.org>2001-09-13 14:18:03 +0000
commit6c0563d89fbb5f38e29779d3f836e00b5af85309 (patch)
tree35f3f835f232c4a2d6466c185dd9abdf0a6665f9 /lang/parrot
parentc63f56382d54931cd92bde2aedad0e2cc877ddb0 (diff)
downloadpkgsrc-6c0563d89fbb5f38e29779d3f836e00b5af85309.tar.gz
Initial import of parrot-0.0.1, a pre-pubescent byte code interpreter
which may form part of Perl or Python's future, into the NetBSD packages collection. Provided in PR 13933 by Chris Pinnock <cjep@interoute.net.uk>, tarted up somewhat by me. PARROT: A bytecode language possible to be used in the future by Perl 6 and a Python. The idea was originally an April fool's joke... "What we're releasing today is a very, very early alpha of the Parrot interpreter. At the moment, we have support for some simple operations on integer, floating point and string registers, and the ability to read in and execute bytecode. We also have an assembler which can generate bytecode output from Parrot assembly."
Diffstat (limited to 'lang/parrot')
-rw-r--r--lang/parrot/Makefile29
-rw-r--r--lang/parrot/distinfo4
-rw-r--r--lang/parrot/pkg/DESCR10
-rw-r--r--lang/parrot/pkg/PLIST14
4 files changed, 57 insertions, 0 deletions
diff --git a/lang/parrot/Makefile b/lang/parrot/Makefile
new file mode 100644
index 00000000000..8e07712490f
--- /dev/null
+++ b/lang/parrot/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/09/13 14:18:03 agc Exp $
+#
+
+DISTNAME= parrot-0.0.1
+CATEGORIES= lang
+MASTER_SITES= http://www.netthink.co.uk/downloads/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.python.org/parrot.html
+COMMENT= bytecode language possibly to be used by Perl/Python
+
+USE_PERL5= # defined
+
+ALL_TARGET= test_prog
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${PREFIX}/include/parrot
+ ${INSTALL_PROGRAM_DIR} ${PREFIX}/share/doc/parrot
+ ${INSTALL_PROGRAM_DIR} ${PREFIX}/share/parrot
+ ${INSTALL_PROGRAM} ${WRKSRC}/test_prog ${PREFIX}/bin/parrot
+ ${INSTALL_SCRIPT} ${WRKSRC}/assemble.pl ${PREFIX}/share/parrot
+ ${INSTALL_SCRIPT} ${WRKSRC}/disassemble.pl ${PREFIX}/share/parrot
+ ${INSTALL_SCRIPT} ${WRKSRC}/t/test*.pasm ${PREFIX}/share/parrot
+ ${INSTALL_DATA} ${WRKSRC}/opcode_table ${PREFIX}/include/parrot
+ ${INSTALL_DATA} ${WRKSRC}/interp_guts.h ${PREFIX}/include/parrot
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/parrot
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/parrot
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/parrot/distinfo b/lang/parrot/distinfo
new file mode 100644
index 00000000000..7bffd1a09af
--- /dev/null
+++ b/lang/parrot/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/09/13 14:18:03 agc Exp $
+
+SHA1 (parrot-0.0.1.tar.gz) = f32bc13e361d5bc557d68224a531a9de4dfa0286
+Size (parrot-0.0.1.tar.gz) = 21973 bytes
diff --git a/lang/parrot/pkg/DESCR b/lang/parrot/pkg/DESCR
new file mode 100644
index 00000000000..722dbf11026
--- /dev/null
+++ b/lang/parrot/pkg/DESCR
@@ -0,0 +1,10 @@
+PARROT: A bytecode language possible to be used in the future by
+Perl 6 and a Python.
+
+The idea was originally an April fool's joke...
+
+"What we're releasing today is a very, very early alpha of the Parrot
+interpreter. At the moment, we have support for some simple
+operations on integer, floating point and string registers, and the
+ability to read in and execute bytecode. We also have an assembler
+which can generate bytecode output from Parrot assembly."
diff --git a/lang/parrot/pkg/PLIST b/lang/parrot/pkg/PLIST
new file mode 100644
index 00000000000..8332be4aa7b
--- /dev/null
+++ b/lang/parrot/pkg/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/09/13 14:18:03 agc Exp $
+share/parrot/assemble.pl
+share/parrot/disassemble.pl
+bin/parrot
+share/doc/parrot/README
+share/doc/parrot/TODO
+include/parrot/interp_guts.h
+include/parrot/opcode_table
+share/parrot/test.pasm
+share/parrot/test2.pasm
+share/parrot/test3.pasm
+@dirrm include/parrot
+@dirrm share/doc/parrot
+@dirrm share/parrot