summaryrefslogtreecommitdiff
path: root/devel/ruby-cmd
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2006-01-03 14:57:52 +0000
committertaca <taca@pkgsrc.org>2006-01-03 14:57:52 +0000
commit82edec01c1e43f211fcef9dcd667a16d0ee501d1 (patch)
tree9f35ae823cefe570295f6b6d0f1ac51f172449b5 /devel/ruby-cmd
parent85a97296bf55807faed5da0e64f5c69b596276c3 (diff)
downloadpkgsrc-82edec01c1e43f211fcef9dcd667a16d0ee501d1.tar.gz
Revive ruby-cmd package.
New HOMEPAGE and MASTER_SITES was noted from minskim by private mail.
Diffstat (limited to 'devel/ruby-cmd')
-rw-r--r--devel/ruby-cmd/DESCR5
-rw-r--r--devel/ruby-cmd/Makefile22
-rw-r--r--devel/ruby-cmd/PLIST4
-rw-r--r--devel/ruby-cmd/distinfo5
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/ruby-cmd/DESCR b/devel/ruby-cmd/DESCR
new file mode 100644
index 00000000000..ebef92fb572
--- /dev/null
+++ b/devel/ruby-cmd/DESCR
@@ -0,0 +1,5 @@
+cmd is a library for building line-oriented command interpreters in
+Ruby. Simply inherit from cmd's Cmd class, and methods whose names
+start with do_ become interactive commands. cmd is inspired by the
+Python library of the same name, but offers a distinctive Ruby feel
+and several additional features.
diff --git a/devel/ruby-cmd/Makefile b/devel/ruby-cmd/Makefile
new file mode 100644
index 00000000000..bc9f423c18d
--- /dev/null
+++ b/devel/ruby-cmd/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.6 2006/01/03 14:57:52 taca Exp $
+
+DISTNAME= cmd-0.7.2
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= devel ruby
+MASTER_SITES= http://rubyforge.org/frs/download.php/3939/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://rubyforge.org/projects/cmd/
+COMMENT= Library for building line-oriented command interpreters
+
+DEPENDS+= ${RUBY_PKGPREFIX}-readline-[0-9]*:../../devel/ruby-readline
+
+USE_RUBY_SETUP= yes
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/cmd
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/cmd
+
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-cmd/PLIST b/devel/ruby-cmd/PLIST
new file mode 100644
index 00000000000..79ca50fc50a
--- /dev/null
+++ b/devel/ruby-cmd/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.3 2006/01/03 14:57:52 taca Exp $
+${RUBY_SITELIBDIR}/cmd.rb
+${RUBY_DOCDIR}/cmd/README
+@dirrm ${RUBY_DOCDIR}/cmd
diff --git a/devel/ruby-cmd/distinfo b/devel/ruby-cmd/distinfo
new file mode 100644
index 00000000000..cad24f9d5a9
--- /dev/null
+++ b/devel/ruby-cmd/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.4 2006/01/03 14:57:52 taca Exp $
+
+SHA1 (cmd-0.7.2.tar.bz2) = f0af8d74cc55c23bb4755321fab8ecea77e8a982
+RMD160 (cmd-0.7.2.tar.bz2) = a1841e7437cfef50ec324c0b97ca664f76224ac1
+Size (cmd-0.7.2.tar.bz2) = 23325 bytes