From 23cb82b5015260b33f86298911a3f03d7ae8cbc5 Mon Sep 17 00:00:00 2001 From: taca Date: Fri, 10 Sep 2010 08:37:41 +0000 Subject: * Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. * Ajust new ruby package's framework. Changes are unknown. --- textproc/ruby-rttool/Makefile | 16 +++++++--------- textproc/ruby-rttool/PLIST | 4 +++- textproc/ruby-rttool/distinfo | 9 ++++----- textproc/ruby-rttool/patches/patch-ab | 26 -------------------------- 4 files changed, 14 insertions(+), 41 deletions(-) delete mode 100644 textproc/ruby-rttool/patches/patch-ab (limited to 'textproc/ruby-rttool') diff --git a/textproc/ruby-rttool/Makefile b/textproc/ruby-rttool/Makefile index 24cb50b7738..fc9c0532679 100644 --- a/textproc/ruby-rttool/Makefile +++ b/textproc/ruby-rttool/Makefile @@ -1,25 +1,23 @@ -# $NetBSD: Makefile,v 1.18 2008/04/04 15:22:20 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2010/09/10 08:37:41 taca Exp $ -DISTNAME= rttool-1.0.2.0 -PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +DISTNAME= rttool-1.0.3.0 CATEGORIES= textproc MAINTAINER= taca@NetBSD.org HOMEPAGE= http://www.rubyist.net/~rubikitch/computer/rttool/ COMMENT= RT to HTML (and hopefully LaTeX in future) table converter +LICENSE= gnu-gpl-v2 OR ruby-license CONFLICTS+= ruby[1-9][0-9]-rttool-* DEPENDS+= ${RUBY_PKGPREFIX}-rdtool>=0.6.18:../../textproc/ruby-rdtool -GEM_BUILD= gemspec - # Move the rt scripts into the main "bin" directory so they're # automatically found and wrapped by the gem script during installation. # -pre-build: - cd ${WRKSRC}/bin && mv rt/* . - rmdir ${WRKSRC}/bin/rt +#pre-build: +# cd ${WRKSRC}/bin && mv rt/* . +# rmdir ${WRKSRC}/bin/rt -.include "../../misc/rubygems/rubygem.mk" +.include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-rttool/PLIST b/textproc/ruby-rttool/PLIST index 5044a5e267a..6f00a14e007 100644 --- a/textproc/ruby-rttool/PLIST +++ b/textproc/ruby-rttool/PLIST @@ -1,10 +1,12 @@ -@comment $NetBSD: PLIST,v 1.9 2009/06/14 21:36:33 joerg Exp $ +@comment $NetBSD: PLIST,v 1.10 2010/09/10 08:37:41 taca Exp $ bin/rdrt2 bin/rt2 ${GEM_HOME}/cache/rttool-${PKGVERSION}.gem ${GEM_LIBDIR}/ChangeLog ${GEM_LIBDIR}/GPL ${GEM_LIBDIR}/bin/rdrt2 +${GEM_LIBDIR}/bin/rt/rdrt2 +${GEM_LIBDIR}/bin/rt/rt2 ${GEM_LIBDIR}/bin/rt2 ${GEM_LIBDIR}/examples/easiest.html ${GEM_LIBDIR}/examples/easiest.rt diff --git a/textproc/ruby-rttool/distinfo b/textproc/ruby-rttool/distinfo index fc368e5990f..bbccd54858a 100644 --- a/textproc/ruby-rttool/distinfo +++ b/textproc/ruby-rttool/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.10 2008/04/04 15:22:20 jlam Exp $ +$NetBSD: distinfo,v 1.11 2010/09/10 08:37:41 taca Exp $ -SHA1 (rttool-1.0.2.0.gem) = e2c29a1d8f9247b45db8f4bec7efd4460c823633 -RMD160 (rttool-1.0.2.0.gem) = 6d075f46d0e376ef4da9b38550f21675c8fc7118 -Size (rttool-1.0.2.0.gem) = 33792 bytes -SHA1 (patch-ab) = 4e42a678c47af375c31687bab791d7782601a9c7 +SHA1 (rttool-1.0.3.0.gem) = 8a4a645df814440bb40c6122ddae2ddd93c60108 +RMD160 (rttool-1.0.3.0.gem) = 6a1c545452bd8ca6111c8915e6f69252c45576fb +Size (rttool-1.0.3.0.gem) = 34304 bytes diff --git a/textproc/ruby-rttool/patches/patch-ab b/textproc/ruby-rttool/patches/patch-ab deleted file mode 100644 index 2babf265b44..00000000000 --- a/textproc/ruby-rttool/patches/patch-ab +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2008/04/04 15:22:20 jlam Exp $ - ---- ../rttool-1.0.2.0.gemspec.orig 2008-03-30 23:51:39.000000000 -0400 -+++ ../rttool-1.0.2.0.gemspec -@@ -16,8 +16,8 @@ dependencies: [] - description: - email: zn@mbf.nifty.com - executables: --- rt/rdrt2 --- rt/rt2 -+- rdrt2 -+- rt2 - extensions: [] - - extra_rdoc_files: [] -@@ -25,8 +25,8 @@ extra_rdoc_files: [] - files: - - ChangeLog - - GPL --- bin/rt/rdrt2 --- bin/rt/rt2 -+- bin/rdrt2 -+- bin/rt2 - - examples/easiest.html - - examples/easiest.rt - - examples/escape.html -- cgit v1.2.3