summaryrefslogtreecommitdiff
path: root/devel/ruby-optparse
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-06-30 23:25:16 +0000
committertaca <taca@pkgsrc.org>2001-06-30 23:25:16 +0000
commit89466a9a2622a3792e88ad4b05df9c23f96e3f84 (patch)
tree5f97d9bd8c095a591d855be93d298696ba3a9f83 /devel/ruby-optparse
parent50852a42adbbe8fc6752e259fbd38447237d1f59 (diff)
downloadpkgsrc-89466a9a2622a3792e88ad4b05df9c23f96e3f84.tar.gz
Importing ruby-optparse.
Yet another command line option parser for Ruby.
Diffstat (limited to 'devel/ruby-optparse')
-rw-r--r--devel/ruby-optparse/Makefile49
-rw-r--r--devel/ruby-optparse/distinfo4
-rw-r--r--devel/ruby-optparse/pkg/DESCR11
-rw-r--r--devel/ruby-optparse/pkg/PLIST23
4 files changed, 87 insertions, 0 deletions
diff --git a/devel/ruby-optparse/Makefile b/devel/ruby-optparse/Makefile
new file mode 100644
index 00000000000..45d09d6cb64
--- /dev/null
+++ b/devel/ruby-optparse/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 23:25:16 taca Exp $
+# FreeBSD: ports/devel/ruby-optparse/Makefile,v 1.10 2001/01/26 03:42:37 knu Exp
+
+DISTNAME= optparse-0.8.2
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= http://member.nifty.ne.jp/nokada/archive/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://member.nifty.ne.jp/nokada/ruby.html
+COMMENT= Yet another command line option parser for Ruby
+
+DIST_SUBDIR= ruby
+USE_RUBY= yes
+USE_GMAKE= yes
+NO_BUILD= # empty
+
+MAKEFILE= GNUmakefile
+INSTALL_TARGET= install-more
+
+SRCS= optparse.rb optparse/shellwords.rb optparse/time.rb \
+ optparse/uri.rb
+DOCS_EN= ChangeLog README.en optparse.en.rd optparse.rlog
+DOCS_JA= FIRSTSTEP.ja.rd README.ja optparse.ja.rd
+EXAMPLES= cmd-ls.rb cmd.rb getopts.test.en opttest.rb
+EXAMPLES_JA= getopts.test rd/jfold.rb
+
+do-install:
+ ${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/optparse
+.for f in ${SRCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_SITELIBDIR}/${f}
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/optparse/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/optparse
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/optparse/ja
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/optparse/ja
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/optparse
+.endfor
+.for f in ${EXAMPLES_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/optparse/ja
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-optparse/distinfo b/devel/ruby-optparse/distinfo
new file mode 100644
index 00000000000..8427cb1438a
--- /dev/null
+++ b/devel/ruby-optparse/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/06/30 23:25:16 taca Exp $
+
+SHA1 (ruby/optparse-0.8.2.tar.gz) = 4630b2b198f2a49c05aa32ece3f27f9956d15f86
+Size (ruby/optparse-0.8.2.tar.gz) = 82855 bytes
diff --git a/devel/ruby-optparse/pkg/DESCR b/devel/ruby-optparse/pkg/DESCR
new file mode 100644
index 00000000000..a0f4e3c7fd5
--- /dev/null
+++ b/devel/ruby-optparse/pkg/DESCR
@@ -0,0 +1,11 @@
+OptionParser is yet another command line option parser for Ruby.
+
+Features:
+ * describe option definition with its handler
+ * specify argument format and convert automatically
+ * can emit options' summaries
+ * can add options on the fly
+ * completion for option/argument
+
+Author: Nobuyoshi.Nakada <nobu.nokada@softhome.net>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=OptionParser \ No newline at end of file
diff --git a/devel/ruby-optparse/pkg/PLIST b/devel/ruby-optparse/pkg/PLIST
new file mode 100644
index 00000000000..bd6d5ca7237
--- /dev/null
+++ b/devel/ruby-optparse/pkg/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 23:25:16 taca Exp $
+${RUBY_SITELIBDIR}/optparse.rb
+${RUBY_SITELIBDIR}/optparse/shellwords.rb
+${RUBY_SITELIBDIR}/optparse/time.rb
+${RUBY_SITELIBDIR}/optparse/uri.rb
+@dirrm ${RUBY_SITELIBDIR}/optparse
+${RUBY_DOCDIR}/optparse/ChangeLog
+${RUBY_DOCDIR}/optparse/README.en
+${RUBY_DOCDIR}/optparse/ja/FIRSTSTEP.ja.rd
+${RUBY_DOCDIR}/optparse/ja/README.ja
+${RUBY_DOCDIR}/optparse/ja/optparse.ja.rd
+@dirrm ${RUBY_DOCDIR}/optparse/ja
+${RUBY_DOCDIR}/optparse/optparse.en.rd
+${RUBY_DOCDIR}/optparse/optparse.rlog
+@dirrm ${RUBY_DOCDIR}/optparse
+${RUBY_EXAMPLESDIR}/optparse/cmd-ls.rb
+${RUBY_EXAMPLESDIR}/optparse/cmd.rb
+${RUBY_EXAMPLESDIR}/optparse/getopts.test.en
+${RUBY_EXAMPLESDIR}/optparse/ja/getopts.test
+${RUBY_EXAMPLESDIR}/optparse/ja/jfold.rb
+@dirrm ${RUBY_EXAMPLESDIR}/optparse/ja
+${RUBY_EXAMPLESDIR}/optparse/opttest.rb
+@dirrm ${RUBY_EXAMPLESDIR}/optparse