pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-rdtool Remove dependency to ruby-amstd p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/822003dfcef7
branches:  trunk
changeset: 468245:822003dfcef7
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Feb 11 15:46:32 2004 +0000

description:
Remove dependency to ruby-amstd package and bump PKG_REVISION.

diffstat:

 textproc/ruby-rdtool/Makefile         |   5 ++---
 textproc/ruby-rdtool/distinfo         |   3 ++-
 textproc/ruby-rdtool/patches/patch-ac |  28 ++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 4 deletions(-)

diffs (71 lines):

diff -r c7c4a09dd071 -r 822003dfcef7 textproc/ruby-rdtool/Makefile
--- a/textproc/ruby-rdtool/Makefile     Wed Feb 11 15:22:24 2004 +0000
+++ b/textproc/ruby-rdtool/Makefile     Wed Feb 11 15:46:32 2004 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2003/08/30 05:56:26 taca Exp $
+# $NetBSD: Makefile,v 1.9 2004/02/11 15:46:32 taca Exp $
 # FreeBSD: ports/textproc/ruby-rdtool/Makefile,v 1.15 2001/01/30 19:20:09 knu Exp
 
 DISTNAME=      rdtool-${RUBY_RD_VERSION}
 PKGNAME=       ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    textproc
 MASTER_SITES=  http://www2.pos.to/~tosh/ruby/rdtool/archive/
 
@@ -17,7 +18,6 @@
 
 DIST_SUBDIR=   ruby
 USE_RUBY=      yes
-USE_RUBY_AMSTD=        yes
 INSTALL_TARGET=        install install-rmi2html
 
 REPLACE_RUBY=  rmi2html.rb utils/rdswap.rb
@@ -46,6 +46,5 @@
        ${INSTALL_DATA} ${RUBY_SITELIBDIR}/rd/dot.rd2rc ${RUBY_EXAMPLESDIR}/rd
 
 .include "Makefile.common"
-.include "../../devel/ruby-amstd/Makefile.common"
 .include "../../lang/ruby-base/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r c7c4a09dd071 -r 822003dfcef7 textproc/ruby-rdtool/distinfo
--- a/textproc/ruby-rdtool/distinfo     Wed Feb 11 15:22:24 2004 +0000
+++ b/textproc/ruby-rdtool/distinfo     Wed Feb 11 15:46:32 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.6 2003/09/10 15:57:31 taca Exp $
+$NetBSD: distinfo,v 1.7 2004/02/11 15:46:32 taca Exp $
 
 SHA1 (ruby/rdtool-0.6.14.tar.gz) = 6c61ffad85c62c7d3708c19a8793c1f8b395a1c0
 Size (ruby/rdtool-0.6.14.tar.gz) = 58750 bytes
+SHA1 (patch-ac) = ba37c47329e4165cef8ccd9985566661bfee4791
diff -r c7c4a09dd071 -r 822003dfcef7 textproc/ruby-rdtool/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-rdtool/patches/patch-ac     Wed Feb 11 15:46:32 2004 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-ac,v 1.1 2004/02/11 15:46:32 taca Exp $
+
+--- rdtoolconf.rb.orig 2003-03-08 21:45:07.000000000 +0900
++++ rdtoolconf.rb
+@@ -4,12 +4,11 @@
+ 
+ require 'mkmf'
+ require 'rbconfig'
+-require 'amstd/rbparams'
+ 
+ STDERR.print "creating Makefile\n"
+ 
+-$bindir = RubyParams::BINDIR
+-$siterubydir = RubyParams::SITE_RB
++$bindir = CONFIG["bindir"]
++$siterubydir = CONFIG["sitedir"]
+ $rddir = CONFIG["datadir"] + "/ruby/rd"
+ $racc = "racc"
+ 
+@@ -18,6 +17,8 @@ mfile.print  <<"EOM"
+ #
+ # RDtool makefile
+ 
++prefix = #{CONFIG["prefix"]}
++exec_prefix = #{CONFIG["exec_prefix"]}
+ BIN_DIR = #{$bindir}
+ SITE_RUBY = #{$siterubydir}
+ RD_DIR = #{$rddir}



Home | Main Index | Thread Index | Old Index