pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
New package, rakudo.
Module Name: pkgsrc-wip
Committed By: Benny Siegert <bsiegert%NetBSD.org@localhost>
Pushed By: bsiegert
Date: Sun Dec 27 23:44:31 2015 +0100
Changeset: ad55e137e1db4c4ed0f1b4d1a5d74debccf8602d
Added Files:
rakudo/DESCR
rakudo/Makefile
rakudo/PLIST
rakudo/buildlink3.mk
rakudo/distinfo
rakudo/patches/patch-src_core_CompUnit_Repository_Installation.pm
Log Message:
New package, rakudo.
This is basically rakudo-star without the star, so it does not include
panda (the package manager) and several modules.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ad55e137e1db4c4ed0f1b4d1a5d74debccf8602d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rakudo/DESCR | 2 ++
rakudo/Makefile | 30 +++++++++++++++++
rakudo/PLIST | 39 ++++++++++++++++++++++
rakudo/buildlink3.mk | 15 +++++++++
rakudo/distinfo | 7 ++++
...ch-src_core_CompUnit_Repository_Installation.pm | 15 +++++++++
6 files changed, 108 insertions(+)
diffs:
diff --git a/rakudo/DESCR b/rakudo/DESCR
new file mode 100644
index 0000000..3438c55
--- /dev/null
+++ b/rakudo/DESCR
@@ -0,0 +1,2 @@
+Rakudo Perl 6, or simply Rakudo, is a compiler for the Perl 6 programming
+language.
diff --git a/rakudo/Makefile b/rakudo/Makefile
new file mode 100644
index 0000000..9f0d359
--- /dev/null
+++ b/rakudo/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.9 2015/10/10 01:57:53 ryoon Exp $
+
+DISTNAME= rakudo-2015.12
+CATEGORIES= lang perl6
+MASTER_SITES= http://rakudo.org/downloads/rakudo/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://rakudo.org/
+COMMENT= Perl 6 reference implementation
+LICENSE= artistic-2.0
+
+MAKE_JOBS_SAFE= no
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= perl gmake
+PLIST_SRC+= ${PLIST_SRC_DFLT}
+.if (${OPSYS} != "Darwin")
+PLIST_SRC+= PLIST.shared
+.endif
+
+HAS_CONFIGURE= yes
+CONFIG_SHELL= ${PERL5}
+CONFIGURE_SCRIPT= Configure.pl
+CONFIGURE_ARGS= --prefix=${PREFIX:Q} --backends=moar
+
+.include "../../wip/MoarVM/buildlink3.mk"
+.include "../../wip/nqp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/rakudo/PLIST b/rakudo/PLIST
new file mode 100644
index 0000000..3cf8a00
--- /dev/null
+++ b/rakudo/PLIST
@@ -0,0 +1,39 @@
+@comment $NetBSD$
+bin/perl6
+bin/perl6-debug-m
+bin/perl6-gdb-m
+bin/perl6-m
+bin/perl6-valgrind-m
+share/nqp/lib/Perl6/Actions.moarvm
+share/nqp/lib/Perl6/BOOTSTRAP.moarvm
+share/nqp/lib/Perl6/Compiler.moarvm
+share/nqp/lib/Perl6/Grammar.moarvm
+share/nqp/lib/Perl6/Metamodel.moarvm
+share/nqp/lib/Perl6/ModuleLoader.moarvm
+share/nqp/lib/Perl6/Ops.moarvm
+share/nqp/lib/Perl6/Optimizer.moarvm
+share/nqp/lib/Perl6/Pod.moarvm
+share/nqp/lib/Perl6/World.moarvm
+share/perl6/dist/3FD70CCCD6914FAEC84AFAE6F97AF461A3EE1588
+share/perl6/repo.lock
+share/perl6/runtime/CORE.setting.moarvm
+share/perl6/runtime/RESTRICTED.setting.moarvm
+share/perl6/runtime/dynext/libperl6_ops_moar.dylib
+share/perl6/runtime/perl6-debug.moarvm
+share/perl6/runtime/perl6.moarvm
+share/perl6/short/0D7FDBBC72083980348BED148BF46BD198D51DE8
+share/perl6/short/2216470A6AACB2EDEC4887E9EADEC834847AFC5D
+share/perl6/short/4572C95D8CF876588C349264F7E943A1F258045B
+share/perl6/short/5C64D4D594EFA6C5343DC4B7A7F5FE423DAB3B23
+share/perl6/short/640AB2BAE07BEDC4C163F679A746F7AB7FB5D1FA
+share/perl6/short/6B7A1AECF02807F30DDAD99C02C34440CA036AF6
+share/perl6/short/B879776A8AE66092E34488CFD4956F8700BDB9DD
+share/perl6/short/F6FD7A4346B3BB0E3124991926D729836808DA54
+share/perl6/sources/110A5AF7C5F3DD995D0172F8129704D458D2DE96
+share/perl6/sources/4F66E73BB5A560B0F3C240DBDAB98EF01C6B9A6D
+share/perl6/sources/5E15899A0DA02DC7DD789D67F1DB7F641F46F17F
+share/perl6/sources/65105D49F79A48B40A63EBE80BBF33BE38B79180
+share/perl6/sources/6B4F22FF5543746B2CD401B10F52E82F0C7EAF9F
+share/perl6/sources/6BBEA6F6CADB164998298C9C199A2BBD3B274FD1
+share/perl6/sources/F31640571C2C816343CDE72A9490EB9CECA6E427
+share/perl6/sources/FB2B85425BF916990BB5B3D70798E1673B5DF46A
diff --git a/rakudo/buildlink3.mk b/rakudo/buildlink3.mk
new file mode 100644
index 0000000..fd90c5b
--- /dev/null
+++ b/rakudo/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.5 2015/04/06 08:17:15 adam Exp $
+
+BUILDLINK_TREE+= rakudo
+
+.if !defined(RAKUDO_BUILDLINK3_MK)
+RAKUDO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.rakudo+= rakudo>=2015.12
+BUILDLINK_ABI_DEPENDS.rakudo+= rakudo>=2015.12
+BUILDLINK_PKGSRCDIR.rakudo?= ../../wip/rakudo
+
+.include "../../lang/nqp/buildlink3.mk"
+.endif # RAKUDO_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -rakudo
diff --git a/rakudo/distinfo b/rakudo/distinfo
new file mode 100644
index 0000000..7964a03
--- /dev/null
+++ b/rakudo/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2013/09/13 22:04:07 schmonz Exp $
+
+SHA1 (rakudo-2015.12.tar.gz) = b425629ad7bf407d4e08564084e0fa63dcecec9d
+RMD160 (rakudo-2015.12.tar.gz) = d26d8b45375407f46872dfb5835152dcec623071
+SHA512 (rakudo-2015.12.tar.gz) = 48e4c98bbff67a52f68a835cc87a19a0b17f2d67790f8162ffd9f167f080d09180d375b5ea9a8577d1de5036c78e604473a2140107d448aff3630c138fd16114
+Size (rakudo-2015.12.tar.gz) = 2669528 bytes
+SHA1 (patch-src_core_CompUnit_Repository_Installation.pm) = 654e8a61ee10c029fbb15f290ff90d99fb5aa08c
diff --git a/rakudo/patches/patch-src_core_CompUnit_Repository_Installation.pm b/rakudo/patches/patch-src_core_CompUnit_Repository_Installation.pm
new file mode 100644
index 0000000..612ec22
--- /dev/null
+++ b/rakudo/patches/patch-src_core_CompUnit_Repository_Installation.pm
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- src/core/CompUnit/Repository/Installation.pm.orig 2015-12-25 19:23:19.000000000 +0000
++++ src/core/CompUnit/Repository/Installation.pm
+@@ -6,6 +6,10 @@ class CompUnit::Repository::Installation
+
+ submethod BUILD(:$!prefix, :$!lock, :$!WHICH, :$!next-repo) { }
+
++ method prefix {
++ IO::Path.new(%*ENV<DESTDIR> ~ $!prefix)
++ }
++
+ method writeable-path {
+ $.prefix.w ?? $.prefix !! IO::Path;
+ }
Home |
Main Index |
Thread Index |
Old Index