From alecn@server.v42of.icc-vvd.ru  Tue Feb 22 12:52:33 2005
Return-Path: <alecn@server.v42of.icc-vvd.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 55DB416A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 22 Feb 2005 12:52:33 +0000 (GMT)
Received: from mail.icc-vvd.ru (mail.icc-vvd.ru [62.141.104.17])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 67B9D43D48
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 22 Feb 2005 12:52:31 +0000 (GMT)
	(envelope-from alecn@server.v42of.icc-vvd.ru)
Received: from server.v42of.icc-vvd.ru (localhost.icc-vvd.ru [127.0.0.1])
	by mail.icc-vvd.ru (8.13.1/8.12.9) with ESMTP id j1MCqUmp046206;
	Tue, 22 Feb 2005 15:52:30 +0300 (MSK)
	(envelope-from alecn@server.v42of.icc-vvd.ru)
Received: (from root@localhost)
	by server.v42of.icc-vvd.ru (8.12.10/8.12.9/Submit) id j1MCqUSD046205;
	Tue, 22 Feb 2005 15:52:30 +0300 (MSK)
Message-Id: <200502221252.j1MCqUSD046205@server.v42of.icc-vvd.ru>
Date: Tue, 22 Feb 2005 15:52:30 +0300 (MSK)
From: Alexander Novitsky <alecn2002@yandex.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: alecn2002@yandex.ru
Subject: [MAINTAINER-UPDATE] devel/ruby18-freeride: update to 0.9.3
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         77924
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] devel/freeride: update to 0.9.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lawrance
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 22 13:00:35 GMT 2005
>Closed-Date:    Sun Jul 31 10:27:35 GMT 2005
>Last-Modified:  Sun Jul 31 10:27:35 GMT 2005
>Originator:     Alexander Novitsky
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
Inzhcomcentre VVD
>Environment:
System: FreeBSD server.v42of.icc-vvd.ru 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Mon Jul 12 21:45:44 MSD 2004
>Description:
- Update to 0.9.3

Port maintainer (alecn2002@yandex.ru) is cc'd.

Please delete PR ports/77866 - it doesn't work with included RRB;
please also take a look at PR ports/77923

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- ruby18-freeride-0.9.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/freeride.orig/Makefile /usr/ports/devel/freeride/Makefile
--- /usr/ports/devel/freeride.orig/Makefile	Mon Feb 21 18:46:43 2005
+++ /usr/ports/devel/freeride/Makefile	Tue Feb 22 15:48:27 2005
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	freeride
-PORTVERSION=	0.9.2
+PORTVERSION=	0.9.3
 CATEGORIES=	devel ruby
-MASTER_SITES=	http://rubyforge.org/frs/download.php/2185/
+MASTER_SITES=	http://rubyforge.org/frs/download.php/3148/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
 DIST_SUBDIR=	ruby
 
@@ -16,7 +16,8 @@
 COMMENT=	Ruby Integrated Developement Environment written in Ruby
 
 RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/fox12.so:${PORTSDIR}/x11-toolkits/ruby-fox-devel \
-		${RUBY_SITELIBDIR}/freebase/freebase.rb:${PORTSDIR}/devel/freebase
+		${RUBY_SITELIBDIR}/freebase/freebase.rb:${PORTSDIR}/devel/freebase \
+		${LOCALBASE}/bin/rrb:${PORTSDIR}/devel/ruby-rrb
 
 USE_RUBY=	yes
 NO_BUILD=	yes
@@ -25,7 +26,7 @@
 	${CP} ${FILESDIR}/install.rb ${WRKSRC}/
 
 do-install:
-	cd ${WRKSRC}; ${RUBY} install.rb
+	cd ${WRKSRC}; ${RUBY} install.rb --prefix=${PREFIX}
 
 post-install:
 	${INSTALL_SCRIPT} ${FILESDIR}/freeride ${PREFIX}/bin
diff -ruN --exclude=CVS /usr/ports/devel/freeride.orig/distinfo /usr/ports/devel/freeride/distinfo
--- /usr/ports/devel/freeride.orig/distinfo	Mon Feb 21 18:46:43 2005
+++ /usr/ports/devel/freeride/distinfo	Mon Feb 21 18:51:25 2005
@@ -1,2 +1,2 @@
-MD5 (ruby/freeride-0.9.2.tar.gz) = 04a9802f712074085349eac6d0d1483d
-SIZE (ruby/freeride-0.9.2.tar.gz) = 496043
+MD5 (ruby/freeride-0.9.3.tar.gz) = 3377004028f027454af4d4de0a7c9e1f
+SIZE (ruby/freeride-0.9.3.tar.gz) = 501458
diff -ruN --exclude=CVS /usr/ports/devel/freeride.orig/files/install.rb /usr/ports/devel/freeride/files/install.rb
--- /usr/ports/devel/freeride.orig/files/install.rb	Mon Feb 21 18:46:43 2005
+++ /usr/ports/devel/freeride/files/install.rb	Tue Feb 22 15:41:08 2005
@@ -1,21 +1,51 @@
 require 'rbconfig'
 require 'find'
 require 'ftools'
+require 'getoptlong'
+
+def usage( exit_code = 1 )
+	printf "Usage: #{ARGV[0]} [--prefix <PATH>] [--no-harm]\n"
+	exit( exit_code )
+end
 
 Dir.chdir ".." if Dir.pwd =~ /bin.?$/
 
+opts = GetoptLong.new( 
+	["--prefix", "-p", GetoptLong::REQUIRED_ARGUMENT ],
+	["--no-harm", "-n", GetoptLong::NO_ARGUMENT ]
+)
+$my_prefix = nil
+no_harm = false
+opts.each { |opt, arg|
+	case opt
+	when "--prefix"
+		$my_prefix = arg
+	when "--no-harm"
+		no_harm = true
+	else
+		usage()
+	end
+}
+
+def prefixize( str )
+	$my_prefix ?
+		str.gsub( Regexp::compile( "^#{Regexp::escape($prefix)}" ), $my_prefix ) :
+		str
+end
+
 include Config
 
 FREERIDE = "freeride"
-$srcdir = CONFIG["srcdir"]
+$prefix = CONFIG["prefix"]
+$srcdir = prefixize( CONFIG["srcdir"] )
 $version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"]
-$libdir = File.join(CONFIG["libdir"], "ruby", $version)
-$archdir = File.join($libdir, CONFIG["arch"])
-$site_libdir = CONFIG["sitelibdir"]
-
-$libdir = ["config", "plugins", "redist"]
-$libdir_excl = [ /i[36]86-mswin32/ ]
-$libdir_subst = [ [/i686-linux/, CONFIG["arch"] ] ]
+$libdir = prefixize( CONFIG["rubylibdir"] )
+$archdir = prefixize( CONFIG["archdir"] )
+$site_libdir = prefixize( CONFIG["sitelibdir"] )
+
+$libdir_list = ["config", "plugins", "redist"]
+$libdir_excl = [ /i[36]86-mswin32/, /i[36]86-linux/ ]
+$libdir_subst = [ ]
 
 class Array
   def contains?
@@ -72,7 +102,7 @@
 end
 
 def install_rb(noharm = false, srcdir = nil)
-  libdir = $libdir
+  libdir = $libdir_list
   libdir_excl = $libdir_excl
   libdir.collect! { |ld|
     File.join(srcdir, ld)
@@ -99,8 +129,6 @@
   $stdout.flush
 end
 
-no_harm = (ARGV.include_like?(/\A^-[a-zA-Z0-9]*n/) or ARGV.include?("--no-harm"))
 $stderr << "No-harm install\n" if no_harm
 $stderr.flush
 install_rb( no_harm )
-
diff -ruN --exclude=CVS /usr/ports/devel/freeride.orig/pkg-plist /usr/ports/devel/freeride/pkg-plist
--- /usr/ports/devel/freeride.orig/pkg-plist	Mon Feb 21 18:46:43 2005
+++ /usr/ports/devel/freeride/pkg-plist	Mon Feb 21 19:06:48 2005
@@ -123,6 +123,10 @@
 %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_fox_gui/fxscintilla/colour.rb
 %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_fox_gui/fxscintilla/util/iface_gen.rb
 %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_fox_gui/fxscintilla/util/Scintilla.iface
+%%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_irb/icons/irb.png
+%%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_irb/plugin.yaml
+%%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_irb/fxirb.rb
+%%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_irb/fox_irb.rb
 %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_commands/plugin.yaml
 %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_commands/key_manager.rb
 %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_commands/core_commands.rb
@@ -193,6 +197,8 @@
 @dirrm %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_script_runner
 @dirrm %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_file_browser/icons
 @dirrm %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_file_browser
+@dirrm %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_irb/icons
+@dirrm %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_irb
 @dirrm %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_debugger/icons
 @dirrm %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_debugger
 @dirrm %%RUBY_SITELIBDIR%%/freeride/plugins/rubyide_tools_fox_databus_inspector
--- ruby18-freeride-0.9.3.patch ends here ---

>Release-Note:
>Audit-Trail:

From: Sergey Matveychuk <sem@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, alecn2002@yandex.ru
Cc:  
Subject: Re: ports/77924: [MAINTAINER-UPDATE] devel/ruby18-freeride: update
 to 0.9.3
Date: Sat, 12 Mar 2005 16:17:27 +0300

 The PR cannot be checked because of x11-toolkits/fxscintilla is barked 
 broken now.
 
 -- 
 Sem.
Responsible-Changed-From-To: freebsd-ports-bugs->lawrance 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Sun Jun 12 14:44:36 GMT 2005 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77924 
State-Changed-From-To: open->feedback 
State-Changed-By: lawrance 
State-Changed-When: Wed Jun 15 10:07:17 GMT 2005 
State-Changed-Why:  
Looks like this needs to be updated for fox 1.4, can you please look 
into it? 

===>  Configuring for ruby18-fox-devel-1.2.2_1 
===>  Running install.rb to configure 
install.rb: entering config phase... 

********************************************************************** 
*                            Hey!                                    * 
*                    Where is FOX installed?                         * 
*                                                                    * 
* I couldn't locate 'fxver.h' in any of the following directories:   * 
*                                                                    * 
*    /usr/include/fox-1.2 
*    /usr/local/include/fox-1.2 
*    /sw/include/fox-1.2 
*                                                                    * 
* Please specify the locations for the FOX header files and library  * 
* using the --with-fox-include and --with-fox-lib options to         * 
* extconf.rb as described in the FXRuby installation instructions.   * 
********************************************************************** 

===>  Building for ruby18-fox-devel-1.2.2_1 
===>  Running install.rb to build 
install.rb config first 
Try 'ruby install.rb --help' for detailed usage. 
*** Error code 1 

Stop in /usr/ports/x11-toolkits/ruby-fox-devel. 
*** Error code 1 

Stop in /usr/home/sam/work/freeride. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=77924 
State-Changed-From-To: feedback->open 
State-Changed-By: lawrance 
State-Changed-When: Wed Jun 15 10:17:15 GMT 2005 
State-Changed-Why:  
Errr, disregard that.. the problem lies elsewhere. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77924 

From: Alexander Novitsky <alecn2002@yandex.ru>
To: bug-followup@FreeBSD.org, alecn2002@yandex.ru
Cc:  
Subject: Re: ports/77924: [MAINTAINER-UPDATE] devel/freeride: update to 0.9.3
Date: Wed, 15 Jun 2005 14:38:31 +0400

 --nextPart1433114.zZftyC4Ysf
 Content-Type: text/plain;
   charset="koi8-r"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 BTW the current version of FreeRIDE is 0.9.4, and I have done port for it, =
 but=20
 didnt submit because FXRuby don't compile.
 
 --nextPart1433114.zZftyC4Ysf
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (FreeBSD)
 
 iD8DBQBCsAUv24q6txTIHdURAtunAJ9+Dow2DvmamuPzOHbk3PI3r7C7GACeMih+
 bxXtDzHf60GehMlI/tATCe0=
 =yjah
 -----END PGP SIGNATURE-----
 
 --nextPart1433114.zZftyC4Ysf--
State-Changed-From-To: open->suspended 
State-Changed-By: lawrance 
State-Changed-When: Tue Jun 21 13:53:25 GMT 2005 
State-Changed-Why:  
Awaiting fix for fox-ruby-devel 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77924 
State-Changed-From-To: suspended->closed 
State-Changed-By: lawrance 
State-Changed-When: Sun Jul 31 10:26:25 GMT 2005 
State-Changed-Why:  
Superseded by ports/84238 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77924 
>Unformatted:
