diff options
author | minskim <minskim@pkgsrc.org> | 2005-04-11 03:26:55 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-04-11 03:26:55 +0000 |
commit | aa342558895b77d43e98aefbcf2e3745abe1402c (patch) | |
tree | 822b545dd6c9f594a32b339dc2dba1f7424e350b /devel/ruby-cmd | |
parent | f7f6de3c152383a3ac2e21e3909bd51c60330be6 (diff) | |
download | pkgsrc-aa342558895b77d43e98aefbcf2e3745abe1402c.tar.gz |
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 (limited to 'devel/ruby-cmd')
-rw-r--r-- | devel/ruby-cmd/DESCR | 5 | ||||
-rw-r--r-- | devel/ruby-cmd/Makefile | 23 | ||||
-rw-r--r-- | devel/ruby-cmd/PLIST | 4 | ||||
-rw-r--r-- | devel/ruby-cmd/distinfo | 5 |
4 files changed, 37 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..c5b9250dc1e --- /dev/null +++ b/devel/ruby-cmd/Makefile @@ -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 +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 --git a/devel/ruby-cmd/PLIST b/devel/ruby-cmd/PLIST new file mode 100644 index 00000000000..5b9230080b9 --- /dev/null +++ b/devel/ruby-cmd/PLIST @@ -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 --git a/devel/ruby-cmd/distinfo b/devel/ruby-cmd/distinfo new file mode 100644 index 00000000000..6badb33a0db --- /dev/null +++ b/devel/ruby-cmd/distinfo @@ -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 |