Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2006 11:07:05 +0100 (WEST)
From:      Rui Lopes <rgl@ruilopes.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/98935: Update port: devel/ruby-rcov to 0.6.0
Message-ID:  <20060614100705.365AE450DA@firebird.clustercube.com>
Resent-Message-ID: <200606141010.k5EAAEIx001369@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         98935
>Category:       ports
>Synopsis:       Update port: devel/ruby-rcov to 0.6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 14 10:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rui Lopes
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
	
>Description:
* Update to 0.6.0
* Honour PREFIX
	
>How-To-Repeat:
	
>Fix:

	

--- update_to_0.6.0.patch begins here ---
diff -u ruby-rcov.orig/Makefile ruby-rcov/Makefile
--- ruby-rcov.orig/Makefile	Wed Jun 14 08:00:34 2006
+++ ruby-rcov/Makefile	Wed Jun 14 08:26:34 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	rcov
-PORTVERSION=	0.5.0
+PORTVERSION=	0.6.0
 CATEGORIES=	devel ruby
 MASTER_SITES=	http://eigenclass.org/static/rcov/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
@@ -22,14 +22,19 @@
 		README.en README.rake README.rant THANKS
 EXAMPLE_FILES=	Rakefile Rantfile
 
+# make sure setup.rb honours $PREFIX
+post-configure:
+	@${REINPLACE_CMD} -E 's,^([^r].+=)${LOCALBASE}(.*)$$,\1${PREFIX}\2,g' ${WRKSRC}/.config
+
 .if !defined(NOPORTDOCS)
 post-install:
-	@${MKDIR} ${RUBY_MODEXAMPLESDIR} ${RUBY_MODDOCDIR}
+	${MKDIR} ${RUBY_MODEXAMPLESDIR:S,^${LOCALBASE},${PREFIX},}
+	${MKDIR} ${RUBY_MODDOCDIR:S,^${LOCALBASE},${PREFIX},}
 .for f in ${EXAMPLE_FILES}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR:S,^${LOCALBASE},${PREFIX},}
 .endfor
 .for f in ${DOC_FILES}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR:S,^${LOCALBASE},${PREFIX},}
 .endfor
 .endif
 
diff -u ruby-rcov.orig/distinfo ruby-rcov/distinfo
--- ruby-rcov.orig/distinfo	Wed Jun 14 08:00:34 2006
+++ ruby-rcov/distinfo	Wed Jun 14 08:21:48 2006
@@ -1,3 +1,3 @@
-MD5 (ruby/rcov-0.5.0.tar.gz) = 83ee7904b078a9bf748873627ad9d323
-SHA256 (ruby/rcov-0.5.0.tar.gz) = 288ceb46947d244ba51f5d27d24edd143bf67c377429e752de3c5c6fa965f560
-SIZE (ruby/rcov-0.5.0.tar.gz) = 51263
+MD5 (ruby/rcov-0.6.0.tar.gz) = 8bb75f2d38b239e6cc130ce416c625d8
+SHA256 (ruby/rcov-0.6.0.tar.gz) = 6c333b18c8ec8801b2fb4e0f9e472eda98c6d8779b4b193628f88d21d4f210ab
+SIZE (ruby/rcov-0.6.0.tar.gz) = 59108
diff -u ruby-rcov.orig/pkg-plist ruby-rcov/pkg-plist
--- ruby-rcov.orig/pkg-plist	Wed Jun 14 08:00:34 2006
+++ ruby-rcov/pkg-plist	Wed Jun 14 08:21:48 2006
@@ -3,6 +3,7 @@
 %%RUBY_SITELIBDIR%%/rcov/lowlevel.rb
 %%RUBY_SITELIBDIR%%/rcov/rant.rb
 %%RUBY_SITELIBDIR%%/rcov/rcovtask.rb
+%%RUBY_SITELIBDIR%%/rcov/report.rb
 %%RUBY_SITELIBDIR%%/rcov/version.rb
 %%RUBY_SITEARCHLIBDIR%%/rcovrt.so
 %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/Rantfile
--- update_to_0.6.0.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060614100705.365AE450DA>