pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-optparse Migrate ruby-optparse to use new f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02279e691e61
branches:  trunk
changeset: 484551:02279e691e61
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Nov 28 06:01:43 2004 +0000

description:
Migrate ruby-optparse to use new framework for Ruby packages and
mark this package is only for ruby16.

Also trivial manual page fix, too.

diffstat:

 devel/ruby-optparse/DESCR            |   2 --
 devel/ruby-optparse/Makefile         |  13 ++++++-------
 devel/ruby-optparse/PLIST            |   4 ++--
 devel/ruby-optparse/distinfo         |   3 ++-
 devel/ruby-optparse/patches/patch-aa |  11 +++++++++++
 5 files changed, 21 insertions(+), 12 deletions(-)

diffs (85 lines):

diff -r 23b84c17e898 -r 02279e691e61 devel/ruby-optparse/DESCR
--- a/devel/ruby-optparse/DESCR Sun Nov 28 05:59:59 2004 +0000
+++ b/devel/ruby-optparse/DESCR Sun Nov 28 06:01:43 2004 +0000
@@ -6,5 +6,3 @@
   * can emit options' summaries
   * can add options on the fly
   * completion for option/argument
-
-Author: Nobuyoshi.Nakada <nobu.nokada%softhome.net@localhost>
diff -r 23b84c17e898 -r 02279e691e61 devel/ruby-optparse/Makefile
--- a/devel/ruby-optparse/Makefile      Sun Nov 28 05:59:59 2004 +0000
+++ b/devel/ruby-optparse/Makefile      Sun Nov 28 06:01:43 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2004/10/13 16:08:47 taca Exp $
+# $NetBSD: Makefile,v 1.9 2004/11/28 06:01:43 taca Exp $
 # FreeBSD: ports/devel/ruby-optparse/Makefile,v 1.10 2001/01/26 03:42:37 knu Exp
 
 DISTNAME=      optparse-0.12
-PKGNAME=       ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel ruby
 MASTER_SITES=  http://nokada.jin.gr.jp/ruby/
 
@@ -10,9 +10,8 @@
 HOMEPAGE=      # not available
 COMMENT=       Yet another command line option parser for Ruby
 
-DIST_SUBDIR=   ruby
-USE_RUBY=      yes
-NO_BUILD=      # empty
+RUBY_VERSION=  ${RUBY16_VERSION}
+NO_BUILD=      yes
 
 DOCS=          ChangeLog FIRSTSTEP.ja.html README.en README.ja \
                optparse.html optparse.ja.html
@@ -34,7 +33,7 @@
 .for f in ${EXAMPLES_JA}
        ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/optparse/${f}.ja
 .endfor
-       ${INSTALL_MAN} ${WRKSRC}/optparse.1 ${LOCALBASE}/man/man1
+       ${INSTALL_MAN} ${WRKSRC}/optparse.1 ${LOCALBASE}/man/man3/optparse.3
 
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 23b84c17e898 -r 02279e691e61 devel/ruby-optparse/PLIST
--- a/devel/ruby-optparse/PLIST Sun Nov 28 05:59:59 2004 +0000
+++ b/devel/ruby-optparse/PLIST Sun Nov 28 06:01:43 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2001/12/30 17:09:14 taca Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/11/28 06:01:43 taca Exp $
 ${RUBY_SITELIBDIR}/optparse.rb
 ${RUBY_DOCDIR}/optparse/ChangeLog
 ${RUBY_DOCDIR}/optparse/FIRSTSTEP.ja.html
@@ -17,4 +17,4 @@
 ${RUBY_EXAMPLESDIR}/optparse/uri.rb
 ${RUBY_EXAMPLESDIR}/optparse/opttest.rb
 @dirrm ${RUBY_EXAMPLESDIR}/optparse
-man/man1/optparse.1
+man/man3/optparse.3
diff -r 23b84c17e898 -r 02279e691e61 devel/ruby-optparse/distinfo
--- a/devel/ruby-optparse/distinfo      Sun Nov 28 05:59:59 2004 +0000
+++ b/devel/ruby-optparse/distinfo      Sun Nov 28 06:01:43 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.4 2003/08/30 07:42:59 taca Exp $
+$NetBSD: distinfo,v 1.5 2004/11/28 06:01:43 taca Exp $
 
 SHA1 (ruby/optparse-0.12.tar.gz) = 843444e1653582a4bc5a1e66760a64417f2650c8
 Size (ruby/optparse-0.12.tar.gz) = 77027 bytes
+SHA1 (patch-aa) = 36bed94f22a32ad2e0d8be2972e4ca0e572b7bbb
diff -r 23b84c17e898 -r 02279e691e61 devel/ruby-optparse/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-optparse/patches/patch-aa      Sun Nov 28 06:01:43 2004 +0000
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1 2004/11/28 06:01:43 taca Exp $
+
+--- optparse.1.orig    2003-01-31 13:41:56.000000000 +0900
++++ optparse.1
+@@ -1,5 +1,5 @@
+ .\" DO NOT MODIFY THIS FILE! it was generated by rd2
+-.TH optparse 1 "January 2003"
++.TH optparse 3 "January 2003"
+ .SH Summary
+ .PP
+ Library for command line option analysis.



Home | Main Index | Thread Index | Old Index