pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import mruby 2.0.1 as wip/mruby.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Tue Sep 10 11:00:10 2019 +0200
Changeset:	6c66b52934cce414c9f455b3e7a0020998f27559

Added Files:
	mruby/DESCR
	mruby/Makefile
	mruby/PLIST
	mruby/TODO
	mruby/distinfo

Log Message:
Import mruby 2.0.1 as wip/mruby.

mruby is the lightweight implementation of the Ruby language complying to
(part of) the ISO standard.

mruby can be linked and embedded within your application. We provide the
interpreter program "mruby" and the interactive mruby shell "mirb" as
examples. You can also compile Ruby programs into compiled byte code using
the mruby compiler "mrbc".

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6c66b52934cce414c9f455b3e7a0020998f27559

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mruby/DESCR    |  7 +++++++
 mruby/Makefile | 24 ++++++++++++++++++++++++
 mruby/PLIST    |  1 +
 mruby/TODO     |  1 +
 mruby/distinfo |  6 ++++++
 5 files changed, 39 insertions(+)

diffs:
diff --git a/mruby/DESCR b/mruby/DESCR
new file mode 100644
index 0000000000..0f92458e95
--- /dev/null
+++ b/mruby/DESCR
@@ -0,0 +1,7 @@
+mruby is the lightweight implementation of the Ruby language complying to
+(part of) the ISO standard.
+
+mruby can be linked and embedded within your application. We provide the
+interpreter program "mruby" and the interactive mruby shell "mirb" as
+examples. You can also compile Ruby programs into compiled byte code using
+the mruby compiler "mrbc".
diff --git a/mruby/Makefile b/mruby/Makefile
new file mode 100644
index 0000000000..be5c1d49d8
--- /dev/null
+++ b/mruby/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	mruby-2.0.1
+CATEGORIES=	lang
+MASTER_SITES=	${MASTER_SITE_GITHUB:=mruby/}
+
+MAINTAINER=	fcambus%NetBSD.org@localhost
+HOMEPAGE=	https://mruby.org/
+COMMENT=	Lightweight implementation of the Ruby language
+LICENSE=	mit
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	bison
+
+DEPENDS+=	${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
+
+REPLACE_RUBY=	minirake
+
+do-build:
+	cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ./minirake --verbose
+
+.include "../../lang/ruby/replace.mk"
+.include "../../lang/ruby/rubyversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mruby/PLIST b/mruby/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/mruby/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/mruby/TODO b/mruby/TODO
new file mode 100644
index 0000000000..6538ff1624
--- /dev/null
+++ b/mruby/TODO
@@ -0,0 +1 @@
+- Add an install target, or use the Rakefile install target?
diff --git a/mruby/distinfo b/mruby/distinfo
new file mode 100644
index 0000000000..f47259920e
--- /dev/null
+++ b/mruby/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (mruby-2.0.1.tar.gz) = b9e087b0499c2ffb5614cbaf913df776475ac4bb
+RMD160 (mruby-2.0.1.tar.gz) = e1edabcacc65050726bb958a5377b524f567b8e3
+SHA512 (mruby-2.0.1.tar.gz) = 74403f928c5af52c615ee2490b0aa685b4d62238f3da3778b3e44748e523e1916f110b42f2e73729be24d561b89a9ae498ff32f549ebe241e97a70d83cf39ded
+Size (mruby-2.0.1.tar.gz) = 517932 bytes


Home | Main Index | Thread Index | Old Index