* Update to 0.6.0

* Honour PREFIX

PR:		ports/98935
Submitted by:	maintainer (Rui Lopes)
This commit is contained in:
Cheng-Lung Sung 2006-06-28 04:50:14 +00:00
parent e4e1eb4a82
commit d6fa3a0ccf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166487
3 changed files with 13 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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