aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-rcov
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-06-28 12:50:14 +0800
committerclsung <clsung@FreeBSD.org>2006-06-28 12:50:14 +0800
commit820899c95395695a65e9cf28c6299bcc10cc21ea (patch)
tree20e90ce649f7d19181a3d56b18eacd3d3ce53d4b /devel/ruby-rcov
parentd8d6ebce6c9bd6717dfc59c56df09185c5eec49e (diff)
downloadfreebsd-ports-gnome-820899c95395695a65e9cf28c6299bcc10cc21ea.tar.gz
freebsd-ports-gnome-820899c95395695a65e9cf28c6299bcc10cc21ea.tar.zst
freebsd-ports-gnome-820899c95395695a65e9cf28c6299bcc10cc21ea.zip
* Update to 0.6.0
* Honour PREFIX PR: ports/98935 Submitted by: maintainer (Rui Lopes)
Diffstat (limited to 'devel/ruby-rcov')
-rw-r--r--devel/ruby-rcov/Makefile13
-rw-r--r--devel/ruby-rcov/distinfo6
-rw-r--r--devel/ruby-rcov/pkg-plist1
3 files changed, 13 insertions, 7 deletions
diff --git a/devel/ruby-rcov/Makefile b/devel/ruby-rcov/Makefile
index 5a2bc99e0d7d..2e0ce3aa7c37 100644
--- a/devel/ruby-rcov/Makefile
+++ b/devel/ruby-rcov/Makefile
@@ -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 @@ DOC_FILES= BLURB CHANGES LEGAL LICENSE README.API \
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 --git a/devel/ruby-rcov/distinfo b/devel/ruby-rcov/distinfo
index 4724d5b09058..a2a66c76f810 100644
--- a/devel/ruby-rcov/distinfo
+++ b/devel/ruby-rcov/distinfo
@@ -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 --git a/devel/ruby-rcov/pkg-plist b/devel/ruby-rcov/pkg-plist
index 1dd85760749b..4c61c03d8075 100644
--- a/devel/ruby-rcov/pkg-plist
+++ b/devel/ruby-rcov/pkg-plist
@@ -3,6 +3,7 @@ bin/rcov
%%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