diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-06-28 04:50:14 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-06-28 04:50:14 +0000 |
commit | d6fa3a0ccf7a657949a204ad7afe410f88f4a7dc (patch) | |
tree | 8782a22277f5ccfecb8cc1b0c5c956c007c4e563 | |
parent | e4e1eb4a82e9d18a598e6091d18444ee450192b6 (diff) | |
download | ports-d6fa3a0ccf7a657949a204ad7afe410f88f4a7dc.tar.gz ports-d6fa3a0ccf7a657949a204ad7afe410f88f4a7dc.zip |
Notes
-rw-r--r-- | devel/ruby-rcov/Makefile | 13 | ||||
-rw-r--r-- | devel/ruby-rcov/distinfo | 6 | ||||
-rw-r--r-- | devel/ruby-rcov/pkg-plist | 1 |
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 |