diff options
author | taca <taca@pkgsrc.org> | 2004-11-28 06:01:43 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-11-28 06:01:43 +0000 |
commit | 5360482091a631e0a4a89b7d5e49444c382b7192 (patch) | |
tree | acfe60bb8881f2a17a5a842a0fc10e6e48d53293 /devel | |
parent | 65adcffccdd715b70ba9b36445c5d7a4aa47520a (diff) | |
download | pkgsrc-5360482091a631e0a4a89b7d5e49444c382b7192.tar.gz |
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 (limited to 'devel')
-rw-r--r-- | devel/ruby-optparse/DESCR | 2 | ||||
-rw-r--r-- | devel/ruby-optparse/Makefile | 13 | ||||
-rw-r--r-- | devel/ruby-optparse/PLIST | 4 | ||||
-rw-r--r-- | devel/ruby-optparse/distinfo | 3 | ||||
-rw-r--r-- | devel/ruby-optparse/patches/patch-aa | 11 |
5 files changed, 21 insertions, 12 deletions
diff --git a/devel/ruby-optparse/DESCR b/devel/ruby-optparse/DESCR index 74ed4119611..9009c5f49ef 100644 --- a/devel/ruby-optparse/DESCR +++ b/devel/ruby-optparse/DESCR @@ -6,5 +6,3 @@ Features: * can emit options' summaries * can add options on the fly * completion for option/argument - -Author: Nobuyoshi.Nakada <nobu.nokada@softhome.net> diff --git a/devel/ruby-optparse/Makefile b/devel/ruby-optparse/Makefile index e930e795986..e22ad62a778 100644 --- a/devel/ruby-optparse/Makefile +++ b/devel/ruby-optparse/Makefile @@ -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 @@ MAINTAINER= taca@NetBSD.org 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 @@ do-install: .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 --git a/devel/ruby-optparse/PLIST b/devel/ruby-optparse/PLIST index fe4549cee1b..aaf70752af6 100644 --- a/devel/ruby-optparse/PLIST +++ b/devel/ruby-optparse/PLIST @@ -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/time.rb ${RUBY_EXAMPLESDIR}/optparse/uri.rb ${RUBY_EXAMPLESDIR}/optparse/opttest.rb @dirrm ${RUBY_EXAMPLESDIR}/optparse -man/man1/optparse.1 +man/man3/optparse.3 diff --git a/devel/ruby-optparse/distinfo b/devel/ruby-optparse/distinfo index ee3f5724c90..5b3469bd089 100644 --- a/devel/ruby-optparse/distinfo +++ b/devel/ruby-optparse/distinfo @@ -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 --git a/devel/ruby-optparse/patches/patch-aa b/devel/ruby-optparse/patches/patch-aa new file mode 100644 index 00000000000..e4c8edc953d --- /dev/null +++ b/devel/ruby-optparse/patches/patch-aa @@ -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. |