From alecn@server.v42of.icc-vvd.ru  Thu Oct 13 09:51:47 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 B307416A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 Oct 2005 09:51:47 +0000 (GMT)
	(envelope-from alecn@server.v42of.icc-vvd.ru)
Received: from mail.icc-vvd.ru (mail.icc-vvd.ru [62.141.104.17])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 900D243D46
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 Oct 2005 09:51:45 +0000 (GMT)
	(envelope-from alecn@server.v42of.icc-vvd.ru)
Received: from server.v42of.icc-vvd.ru (localhost [127.0.0.1])
	by mail.icc-vvd.ru (8.13.3/8.12.9) with ESMTP id j9D9pier091636;
	Thu, 13 Oct 2005 13:51:44 +0400 (MSD)
	(envelope-from alecn@server.v42of.icc-vvd.ru)
Received: (from root@localhost)
	by server.v42of.icc-vvd.ru (8.13.3/8.12.9/Submit) id j9D9pida091635;
	Thu, 13 Oct 2005 13:51:44 +0400 (MSD)
Message-Id: <200510130951.j9D9pida091635@server.v42of.icc-vvd.ru>
Date: Thu, 13 Oct 2005 13:51:44 +0400 (MSD)
From: Alexander Novitsky <alecn2002@yandex.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: alecn2002@yandex.ru
Subject: [PATCH] devel/ruby18-freebase: [repocopy to devel/freeride]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         87365
>Category:       ports
>Synopsis:       [PATCH] devel/ruby18-freebase: [repocopy to devel/freeride]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sem
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 13 10:00:27 GMT 2005
>Closed-Date:    Wed Nov 09 10:46:09 GMT 2005
>Last-Modified:  Wed Nov 09 10:46:09 GMT 2005
>Originator:     Alexander Novitsky
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD server.v42of.icc-vvd.ru 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Fri May 13 16:59:19 MSD 2005
>Description:
Made it a repocopy of devel/freeride because they both originated from the same distfile

Removed file:
- files/patch-freebase:bin:install.rb

Added file(s):
- files/patch-freebase_bin_install.rb

It's not just renaming - files/patch-freebase_bin_install.rb is different from old one!

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

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

--- ruby18-freebase-0.9.4_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/freebase/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	10 Jun 2005 09:57:30 -0000	1.7
+++ Makefile	13 Oct 2005 09:48:42 -0000
@@ -6,22 +6,18 @@
 #
 
 PORTNAME=	freebase
-PORTVERSION=	0.9.4
-CATEGORIES=	devel ruby
-MASTER_SITES=	http://rubyforge.org/frs/download.php/3931/
-PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
-DISTNAME=	freeride-${PORTVERSION}
-DIST_SUBDIR=	ruby
+PORTREVISION=	1
 
-MAINTAINER=	alecn2002@yandex.ru
 COMMENT=	Plugin subsystem of FreeRIDE
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}
 
-USE_RUBY=	yes
-NO_BUILD=	yes
+MASTERDIR=	${.CURDIR}/../freeride
+FILESDIR=	${.CURDIR}/files
+PATCHDIR=	${FILESDIR}
+PLIST=	${.CURDIR}/pkg-plist
 
 do-install:
 	cd ${WRKSRC}; ${RUBY} bin/install.rb --prefix=${PREFIX}
 
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
Index: files/patch-freebase_bin_install.rb
===================================================================
RCS file: files/patch-freebase_bin_install.rb
diff -N files/patch-freebase_bin_install.rb
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-freebase_bin_install.rb	13 Oct 2005 09:48:42 -0000
@@ -0,0 +1,58 @@
+--- bin/install.rb.orig	Mon Mar 24 07:10:57 2003
++++ bin/install.rb	Thu Oct 13 12:05:17 2005
+@@ -1,21 +1,39 @@
+ require 'rbconfig'
+ require 'find'
+ require 'ftools'
++require 'getoptlong'
++
++def usage( exit_code = 1 )
++	printf "Usage: #{ARGV[0]} [--path <PATH>]\n"
++	exit( exit_code )
++end
+ 
+ Dir.chdir ".." if Dir.pwd =~ /bin.?$/
+ 
++opts = GetoptLong.new( ["--prefix", "-p", GetoptLong::REQUIRED_ARGUMENT ] )
++$my_prefix = nil
++opts.each { |opt, arg|
++	case opt
++	when "--prefix"
++		$my_prefix = arg
++	else
++		usage()
++	end
++}
++
++def prefixize( str )
++	$my_prefix ?
++		str.gsub( Regexp::compile( "^#{Regexp::escape($prefix)}" ), $my_prefix ) :
++		str
++end
++
+ include Config
+ 
+-$srcdir = CONFIG["srcdir"]
++$prefix = CONFIG["prefix"]
+ $version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"]
+-$libdir = File.join(CONFIG["libdir"], "ruby", $version)
+-$archdir = File.join($libdir, CONFIG["arch"])
+-$site_libdir = $:.find {|x| x =~ /site_ruby$/}
+-if !$site_libdir
+-  $site_libdir = File.join($libdir, "site_ruby")
+-elsif $site_libdir !~ Regexp.quote($version)
+-  $site_libdir = File.join($site_libdir, $version)
+-end
++$libdir = prefixize( CONFIG["rubylibdir"] )
++$archdir = prefixize( CONFIG["archdir"] )
++$site_libdir = prefixize( CONFIG["sitelibdir"] )
+ 
+ def install_rb(srcdir = nil)
+   libdir = "lib"
+@@ -39,4 +57,4 @@
+   end
+ end
+ 
+-install_rb
+\ No newline at end of file
++install_rb
--- ruby18-freebase-0.9.4_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sem 
Responsible-Changed-By: sem 
Responsible-Changed-When: Sat Oct 15 14:25:23 GMT 2005 
Responsible-Changed-Why:  
Take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87365 
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Wed Nov 9 10:46:08 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

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