pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-cmd Import ruby-cmd.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91b0a7f726c3
branches:  trunk
changeset: 492357:91b0a7f726c3
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Apr 11 03:26:55 2005 +0000

description:
Import ruby-cmd.

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.

diffstat:

 devel/ruby-cmd/DESCR    |   5 +++++
 devel/ruby-cmd/Makefile |  23 +++++++++++++++++++++++
 devel/ruby-cmd/PLIST    |   4 ++++
 devel/ruby-cmd/distinfo |   5 +++++
 4 files changed, 37 insertions(+), 0 deletions(-)

diffs (53 lines):

diff -r b5dbc72200a9 -r 91b0a7f726c3 devel/ruby-cmd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-cmd/DESCR      Mon Apr 11 03:26:55 2005 +0000
@@ -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 -r b5dbc72200a9 -r 91b0a7f726c3 devel/ruby-cmd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-cmd/Makefile   Mon Apr 11 03:26:55 2005 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/04/11 03:26:55 minskim Exp $
+
+DISTNAME=      cmd-0.7.0
+PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel ruby
+MASTER_SITES=  http://code.vernix.org/cmd/download/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      http://code.vernix.org/cmd/download/
+COMMENT=       Library for building  line-oriented command interpreters
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-readline-[0-9]*:../../devel/ruby-readline
+
+USE_RUBY_SETUP=        yes
+
+.include "../../lang/ruby/modules.mk"
+
+post-install:
+       ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/cmd
+       ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/cmd
+
+.include "../../mk/bsd.pkg.mk"
diff -r b5dbc72200a9 -r 91b0a7f726c3 devel/ruby-cmd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-cmd/PLIST      Mon Apr 11 03:26:55 2005 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/11 03:26:55 minskim Exp $
+${RUBY_SITELIBDIR}/cmd.rb
+${RUBY_DOCDIR}/cmd/README
+@dirrm ${RUBY_DOCDIR}/cmd
diff -r b5dbc72200a9 -r 91b0a7f726c3 devel/ruby-cmd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-cmd/distinfo   Mon Apr 11 03:26:55 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/04/11 03:26:55 minskim Exp $
+
+SHA1 (ruby/cmd-0.7.0.tar.bz2) = 458213b6c281f65b1407c4a3c07ce41c4257d385
+RMD160 (ruby/cmd-0.7.0.tar.bz2) = 16662d8514502e35a240f45295189cd359a319a7
+Size (ruby/cmd-0.7.0.tar.bz2) = 22648 bytes



Home | Main Index | Thread Index | Old Index