summaryrefslogtreecommitdiff
path: root/devel/ruby-optparse
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-07-11 16:25:41 +0000
committertaca <taca@pkgsrc.org>2001-07-11 16:25:41 +0000
commit8672599263d871b565b5f9c1ec872f6e0dddee0e (patch)
tree047716a5bed6ff3a64a33e80c89618f799dae222 /devel/ruby-optparse
parent39adad9e5382cd07215dfcad3c1210e4a778ef0d (diff)
downloadpkgsrc-8672599263d871b565b5f9c1ec872f6e0dddee0e.tar.gz
Update ruby-optparse to 0.8.3.
- Changes from 0.8.2 seems to several bug fixes. - Move some exmaple files from ${RUBY_SITELIBDIR}/optparse to ${RUBY_EXAMPLESDIR}/optparse. - Elminate USE_GMAKE since there is no need to use make.
Diffstat (limited to 'devel/ruby-optparse')
-rw-r--r--devel/ruby-optparse/Makefile25
-rw-r--r--devel/ruby-optparse/distinfo6
-rw-r--r--devel/ruby-optparse/pkg/PLIST19
3 files changed, 21 insertions, 29 deletions
diff --git a/devel/ruby-optparse/Makefile b/devel/ruby-optparse/Makefile
index 45d09d6cb64..9da80deaebf 100644
--- a/devel/ruby-optparse/Makefile
+++ b/devel/ruby-optparse/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 23:25:16 taca Exp $
+# $NetBSD: Makefile,v 1.2 2001/07/11 16:25:41 taca Exp $
# FreeBSD: ports/devel/ruby-optparse/Makefile,v 1.10 2001/01/26 03:42:37 knu Exp
-DISTNAME= optparse-0.8.2
+DISTNAME= optparse-0.8.3
PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://member.nifty.ne.jp/nokada/archive/
@@ -12,24 +12,16 @@ 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
+DOCS_EN= ChangeLog README.en optparse.en.html
+DOCS_JA= FIRSTSTEP.ja.html README.ja optparse.ja.html
+EXAMPLES= cmd-ls.rb cmd.rb getopts.test.en opttest.rb \
+ optparse/shellwords.rb optparse/time.rb optparse/uri.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} ${WRKSRC}/optparse.rb ${RUBY_SITELIBDIR}
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/optparse/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/optparse
@@ -44,6 +36,7 @@ do-install:
.for f in ${EXAMPLES_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/optparse/ja
.endfor
+ ${INSTALL_MAN} ${WRKSRC}/optparse.1 ${LOCALBASE}/man/man1
.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-optparse/distinfo b/devel/ruby-optparse/distinfo
index 8427cb1438a..7339f506e95 100644
--- a/devel/ruby-optparse/distinfo
+++ b/devel/ruby-optparse/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/06/30 23:25:16 taca Exp $
+$NetBSD: distinfo,v 1.2 2001/07/11 16:25:41 taca Exp $
-SHA1 (ruby/optparse-0.8.2.tar.gz) = 4630b2b198f2a49c05aa32ece3f27f9956d15f86
-Size (ruby/optparse-0.8.2.tar.gz) = 82855 bytes
+SHA1 (ruby/optparse-0.8.3.tar.gz) = b244863485217d6ddceef7e50dd6829b71a6acfd
+Size (ruby/optparse-0.8.3.tar.gz) = 81756 bytes
diff --git a/devel/ruby-optparse/pkg/PLIST b/devel/ruby-optparse/pkg/PLIST
index bd6d5ca7237..9f8c26d991a 100644
--- a/devel/ruby-optparse/pkg/PLIST
+++ b/devel/ruby-optparse/pkg/PLIST
@@ -1,23 +1,22 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 23:25:16 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2001/07/11 16:25:43 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/FIRSTSTEP.ja.html
${RUBY_DOCDIR}/optparse/ja/README.ja
-${RUBY_DOCDIR}/optparse/ja/optparse.ja.rd
+${RUBY_DOCDIR}/optparse/ja/optparse.ja.html
@dirrm ${RUBY_DOCDIR}/optparse/ja
-${RUBY_DOCDIR}/optparse/optparse.en.rd
-${RUBY_DOCDIR}/optparse/optparse.rlog
+${RUBY_DOCDIR}/optparse/optparse.en.html
@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
+@comment ${RUBY_EXAMPLESDIR}/optparse/ja/jfold.rb
@dirrm ${RUBY_EXAMPLESDIR}/optparse/ja
+${RUBY_EXAMPLESDIR}/optparse/shellwords.rb
+${RUBY_EXAMPLESDIR}/optparse/time.rb
+${RUBY_EXAMPLESDIR}/optparse/uri.rb
${RUBY_EXAMPLESDIR}/optparse/opttest.rb
@dirrm ${RUBY_EXAMPLESDIR}/optparse
+man/man1/optparse.1