summaryrefslogtreecommitdiff
path: root/lang/nqp
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2013-09-13 11:16:18 +0000
committersno <sno@pkgsrc.org>2013-09-13 11:16:18 +0000
commitab6b3ac9c995ed7203aa3af9536f794747377d82 (patch)
treed92fa05a408a3c94448ff3816e781a72bc2f2033 /lang/nqp
parent1b1591df81c8ec7998954f0ffd458e5123f679ee (diff)
downloadpkgsrc-ab6b3ac9c995ed7203aa3af9536f794747377d82.tar.gz
Adding package for NQP 2013.08 into lang/nqp.
This is "Not Quite Perl" -- a lightweight Perl 6-like environment for virtual machines. The key feature of NQP is that it's designed to be a very small environment (as compared with, say, perl6 or Rakudo) and is focused on being a high-level way to create compilers and libraries for virtual machines (such as the Parrot Virtual Machine [1] and the JVM). Unlike a full-fledged implementation of Perl 6, NQP strives to have as small a runtime footprint as it can, while still providing a Perl 6 object model and regular expression engine for the virtual machine.
Diffstat (limited to 'lang/nqp')
-rw-r--r--lang/nqp/DESCR8
-rw-r--r--lang/nqp/Makefile33
-rw-r--r--lang/nqp/PLIST21
-rw-r--r--lang/nqp/PLIST.Darwin5
-rw-r--r--lang/nqp/PLIST.shared5
-rw-r--r--lang/nqp/distinfo5
6 files changed, 77 insertions, 0 deletions
diff --git a/lang/nqp/DESCR b/lang/nqp/DESCR
new file mode 100644
index 00000000000..c299ce1d63c
--- /dev/null
+++ b/lang/nqp/DESCR
@@ -0,0 +1,8 @@
+This is "Not Quite Perl" -- a lightweight Perl 6-like environment for
+virtual machines. The key feature of NQP is that it's designed to be a
+very small environment (as compared with, say, perl6 or Rakudo) and
+is focused on being a high-level way to create compilers and libraries
+for virtual machines (such as the Parrot Virtual Machine [1] and the JVM).
+Unlike a full-fledged implementation of Perl 6, NQP strives to have as
+small a runtime footprint as it can, while still providing a Perl 6 object
+model and regular expression engine for the virtual machine.
diff --git a/lang/nqp/Makefile b/lang/nqp/Makefile
new file mode 100644
index 00000000000..17e5cc1c48d
--- /dev/null
+++ b/lang/nqp/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2013/09/13 11:16:18 sno Exp $
+
+DISTNAME= nqp-2013.08
+CATEGORIES= lang perl6
+MASTER_SITES= http://rakudo.org/downloads/nqp/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://rakudo.org/
+COMMENT= Not Quite Perl -- lightweight Perl 6-like environment for VM
+LICENSE= artistic-2.0
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= perl
+PLIST_SRC+= ${PLIST_SRC_DFLT}
+.if (${OPSYS} != "Darwin")
+PLIST_SRC+= PLIST.shared
+.else
+USE_TOOLS+= gmake
+.endif
+
+HAS_CONFIGURE= yes
+CONFIG_SHELL= ${PERL5}
+CONFIGURE_SCRIPT= Configure.pl
+CONFIGURE_ARGS= --prefix=${PREFIX:Q} \
+ --with-parrot=${PREFIX}/bin/parrot
+
+PLIST_SUBST+= PARROT_VERSION=${PARROT_VERSION:Q}
+PRINT_PLIST_AWK+= { gsub(/${PARROT_VERSION}/, "$${PARROT_VERSION}") }
+
+.include "../../lang/parrot/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/nqp/PLIST b/lang/nqp/PLIST
new file mode 100644
index 00000000000..81180cd6c9e
--- /dev/null
+++ b/lang/nqp/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/13 11:16:18 sno Exp $
+bin/nqp
+include/parrot/${PARROT_VERSION}/dynpmc/pmc_nqplexinfo.h
+include/parrot/${PARROT_VERSION}/dynpmc/pmc_nqplexpad.h
+include/parrot/${PARROT_VERSION}/dynpmc/pmc_ownedhash.h
+include/parrot/${PARROT_VERSION}/dynpmc/pmc_ownedresizablepmcarray.h
+include/parrot/${PARROT_VERSION}/dynpmc/pmc_qrpa.h
+include/parrot/${PARROT_VERSION}/dynpmc/pmc_serializationcontext.h
+include/parrot/${PARROT_VERSION}/dynpmc/pmc_sixmodelobject.h
+include/parrot/${PARROT_VERSION}/dynpmc/pmc_stable.h
+lib/parrot/${PARROT_VERSION}/include/nqp_const.pir
+lib/parrot/${PARROT_VERSION}/languages/nqp/lib/NQPCORE.setting.pbc
+lib/parrot/${PARROT_VERSION}/languages/nqp/lib/NQPHLL.pbc
+lib/parrot/${PARROT_VERSION}/languages/nqp/lib/NQPP5QRegex.pbc
+lib/parrot/${PARROT_VERSION}/languages/nqp/lib/NQPP6QRegex.pbc
+lib/parrot/${PARROT_VERSION}/languages/nqp/lib/QAST.pbc
+lib/parrot/${PARROT_VERSION}/languages/nqp/lib/QASTNode.pbc
+lib/parrot/${PARROT_VERSION}/languages/nqp/lib/QRegex.pbc
+lib/parrot/${PARROT_VERSION}/languages/nqp/lib/nqp.pbc
+lib/parrot/${PARROT_VERSION}/languages/nqp/lib/nqpmo.pbc
+lib/parrot/${PARROT_VERSION}/library/ModuleLoader.pbc
diff --git a/lang/nqp/PLIST.Darwin b/lang/nqp/PLIST.Darwin
new file mode 100644
index 00000000000..00c89252820
--- /dev/null
+++ b/lang/nqp/PLIST.Darwin
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1 2013/09/13 11:16:18 sno Exp $
+lib/parrot/${PARROT_VERSION}/dynext/nqp_bigint_ops.bundle
+lib/parrot/${PARROT_VERSION}/dynext/nqp_dyncall_ops.bundle
+lib/parrot/${PARROT_VERSION}/dynext/nqp_group.bundle
+lib/parrot/${PARROT_VERSION}/dynext/nqp_ops.bundle
diff --git a/lang/nqp/PLIST.shared b/lang/nqp/PLIST.shared
new file mode 100644
index 00000000000..c13578b0f58
--- /dev/null
+++ b/lang/nqp/PLIST.shared
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.shared,v 1.1 2013/09/13 11:16:18 sno Exp $
+lib/parrot/${PARROT_VERSION}/dynext/nqp_bigint_ops.so
+lib/parrot/${PARROT_VERSION}/dynext/nqp_dyncall_ops.so
+lib/parrot/${PARROT_VERSION}/dynext/nqp_group.so
+lib/parrot/${PARROT_VERSION}/dynext/nqp_ops.so
diff --git a/lang/nqp/distinfo b/lang/nqp/distinfo
new file mode 100644
index 00000000000..6aabccfb609
--- /dev/null
+++ b/lang/nqp/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/09/13 11:16:18 sno Exp $
+
+SHA1 (nqp-2013.08.tar.gz) = ae2977b9b6e7c09077f032684cdaeeb1367d9ccc
+RMD160 (nqp-2013.08.tar.gz) = 5f9f803d7c610ec60b383496d334f1e282836024
+Size (nqp-2013.08.tar.gz) = 2693642 bytes