summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2014-03-14 19:47:00 +0000
committertaca <taca@pkgsrc.org>2014-03-14 19:47:00 +0000
commit7e7798065eece5400671aaf6a588b97cb16d85b7 (patch)
tree65da2e140ece20f5ac9267dd39d96cae0ed7d223
parent37b7a3638cde5dbae48de7b0874736be4e4e4282 (diff)
downloadpkgsrc-7e7798065eece5400671aaf6a588b97cb16d85b7.tar.gz
Add ruby21 package which contains all packages from Ruby 2.1.1
distributuons: ruby211-base ruby211-gdbm ruby211-fiddle ruby211-readline ruby211-tk package Notice: ruby-curses was dropped since Ruby 2.1.0.
-rw-r--r--lang/ruby21/DESCR6
-rw-r--r--lang/ruby21/Makefile27
2 files changed, 33 insertions, 0 deletions
diff --git a/lang/ruby21/DESCR b/lang/ruby21/DESCR
new file mode 100644
index 00000000000..92208efa49a
--- /dev/null
+++ b/lang/ruby21/DESCR
@@ -0,0 +1,6 @@
+This a meta package including Ruby 2.1.1 full release.
+
+It includes ruby211-base, ruby211-gdbm, ruby211-fiddle, ruby211-readline
+and ruby211-tk package.
+
+No package should depend on this package directly.
diff --git a/lang/ruby21/Makefile b/lang/ruby21/Makefile
new file mode 100644
index 00000000000..59aa958fdc9
--- /dev/null
+++ b/lang/ruby21/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2014/03/14 19:47:00 taca Exp $
+#
+
+DISTNAME= # empty
+PKGNAME= ${RUBY_PKGPREFIX}-${RUBY_VERSION_FULL}
+CATEGORIES= lang ruby
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= http://www.ruby-lang.org/en/
+COMMENT= Ruby programming language ${RUBY_VERSION} meta package
+LICENSE= 2-clause-bsd OR ruby-license
+
+META_PACKAGE= yes
+
+DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION_FULL}:${RUBY_SRCDIR}
+DEPENDS+= ${RUBY_NAME}-gdbm>=${RUBY_VERSION_FULL}:../../databases/ruby-gdbm
+DEPENDS+= ${RUBY_NAME}-fiddle>=${RUBY_VERSION_FULL}:../../devel/ruby-fiddle
+DEPENDS+= ${RUBY_NAME}-readline>=${RUBY_VERSION_FULL}:../../devel/ruby-readline
+DEPENDS+= ${RUBY_NAME}-tk>=${RUBY_VERSION_FULL}:../../x11/ruby-tk
+
+RUBY_VERSION_SUPPORTED= 21
+
+.include "../../lang/ruby/rubyversion.mk"
+.include "../../lang/ruby/Makefile.common"
+.include "../../mk/bsd.pkg.mk"