pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ruby-rdoc Migrate ruby-rdoc to use new framew...
details: https://anonhg.NetBSD.org/pkgsrc/rev/204d3406196e
branches: trunk
changeset: 484534:204d3406196e
user: taca <taca%pkgsrc.org@localhost>
date: Sun Nov 28 04:38:37 2004 +0000
description:
Migrate ruby-rdoc to use new framework for Ruby packages.
And mark this package is only for ruby16, too.
diffstat:
textproc/ruby-rdoc/Makefile | 15 +++++++--------
textproc/ruby-rdoc/PLIST | 3 ++-
textproc/ruby-rdoc/distinfo | 7 ++++---
textproc/ruby-rdoc/patches/patch-aa | 17 +++++++++++++++++
4 files changed, 30 insertions(+), 12 deletions(-)
diffs (74 lines):
diff -r 897cfd1cd4e0 -r 204d3406196e textproc/ruby-rdoc/Makefile
--- a/textproc/ruby-rdoc/Makefile Sun Nov 28 04:36:05 2004 +0000
+++ b/textproc/ruby-rdoc/Makefile Sun Nov 28 04:38:37 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/03/16 02:01:11 taca Exp $
+# $NetBSD: Makefile,v 1.3 2004/11/28 04:38:37 taca Exp $
#
DISTNAME= rdoc-beta-2
-PKGNAME= ruby-rdoc-0.0.0.2
+PKGNAME= ${RUBY_PKGPREFIX}-rdoc-0.0.0.2
CATEGORIES= textproc ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rdoc/}
EXTRACT_SUFX= .tgz
@@ -11,11 +11,10 @@
HOMEPAGE= http://rdoc.sourceforge.net/
COMMENT= Generates structured HTML documentation from Ruby source
-NO_BUILD= YES
-USE_RUBY= YES
+RUBY_VERSION= ${RUBY16_VERSION}
+USE_RUBY_INSTALL= yes
+NO_BUILD= yes
+NO_CONFIGURE= yes
-do-install:
- cd ${WRKSRC} && ${RUBY} install.rb
-
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 897cfd1cd4e0 -r 204d3406196e textproc/ruby-rdoc/PLIST
--- a/textproc/ruby-rdoc/PLIST Sun Nov 28 04:36:05 2004 +0000
+++ b/textproc/ruby-rdoc/PLIST Sun Nov 28 04:38:37 2004 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/16 02:03:33 salo Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/11/28 04:38:37 taca Exp $
+bin/rdoc${RUBY_VER}
${RUBY_SITELIBDIR}/rdoc/generators/template/chm/chm.rb
${RUBY_SITELIBDIR}/rdoc/generators/template/html/html.rb
${RUBY_SITELIBDIR}/rdoc/generators/template/html/kilmer.rb
diff -r 897cfd1cd4e0 -r 204d3406196e textproc/ruby-rdoc/distinfo
--- a/textproc/ruby-rdoc/distinfo Sun Nov 28 04:36:05 2004 +0000
+++ b/textproc/ruby-rdoc/distinfo Sun Nov 28 04:38:37 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/02/16 02:03:33 salo Exp $
+$NetBSD: distinfo,v 1.2 2004/11/28 04:38:37 taca Exp $
-SHA1 (rdoc-beta-2.tgz) = 6ca2a03d9d71e681d283d02239871ddb46df7d6b
-Size (rdoc-beta-2.tgz) = 130997 bytes
+SHA1 (ruby/rdoc-beta-2.tgz) = 6ca2a03d9d71e681d283d02239871ddb46df7d6b
+Size (ruby/rdoc-beta-2.tgz) = 130997 bytes
+SHA1 (patch-aa) = 6e0195bd48320ab1a4dc8d809a7a2d333a833b1b
diff -r 897cfd1cd4e0 -r 204d3406196e textproc/ruby-rdoc/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-rdoc/patches/patch-aa Sun Nov 28 04:38:37 2004 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2004/11/28 04:38:37 taca Exp $
+
+--- install.rb.orig 2002-06-21 02:11:48.000000000 +0900
++++ install.rb
+@@ -111,7 +111,11 @@ end
+
+ # and the executable
+
+-installBIN("rdoc.rb", "rdoc")
++ver = nil
++if /(\d+)\.(\d)/ =~ VERSION
++ ver = $1 + $2
++end
++installBIN("rdoc.rb", "rdoc#{ver}")
+
+ # Temporary - we used to install html_generator in the rdoc
+ # directory, but now it's moved
Home |
Main Index |
Thread Index |
Old Index