aboutsummaryrefslogtreecommitdiff
path: root/devel/rubygem-ruby-prof
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-12-06 23:34:53 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-12-06 23:34:53 +0000
commit19fb11f56d561123eea463136dcd4d3c38fb7464 (patch)
tree380af5cec2c0d12d3b28cb20fcd4009a99a2fdb6 /devel/rubygem-ruby-prof
parentd01626c5c2f828485697fcadedda54448355e934 (diff)
downloadports-19fb11f56d561123eea463136dcd4d3c38fb7464.tar.gz
ports-19fb11f56d561123eea463136dcd4d3c38fb7464.zip
Notes
Diffstat (limited to 'devel/rubygem-ruby-prof')
-rw-r--r--devel/rubygem-ruby-prof/Makefile22
-rw-r--r--devel/rubygem-ruby-prof/distinfo6
-rw-r--r--devel/rubygem-ruby-prof/pkg-plist113
3 files changed, 12 insertions, 129 deletions
diff --git a/devel/rubygem-ruby-prof/Makefile b/devel/rubygem-ruby-prof/Makefile
index 5e613edd667a..651751b2dfb3 100644
--- a/devel/rubygem-ruby-prof/Makefile
+++ b/devel/rubygem-ruby-prof/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= ruby-prof
-PORTVERSION= 0.6.0
+PORTVERSION= 0.7.0
CATEGORIES= devel rubygems
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,17 +16,13 @@ COMMENT= A fast profiler for Ruby
USE_RUBY= yes
USE_RUBYGEMS= yes
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
- (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
- | ${SED} -E \
- 's,.*share/nls/.+$$,,g \
- ;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
- ;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
- ;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
- ;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
- ;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
- ;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
- ' | ${TR} -s '\n') > temp-pkg-plist
+post-install:
+ @${ECHO} bin/ruby-prof > ${TMPPLIST}
+ @${ECHO} ${GEM_CACHE} >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
+ @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/devel/rubygem-ruby-prof/distinfo b/devel/rubygem-ruby-prof/distinfo
index 22d755e7b4de..a0edee8459fd 100644
--- a/devel/rubygem-ruby-prof/distinfo
+++ b/devel/rubygem-ruby-prof/distinfo
@@ -1,3 +1,3 @@
-MD5 (rubygem/ruby-prof-0.6.0.gem) = 31ec1bfd15b4259f49cbd8da6a48b0d6
-SHA256 (rubygem/ruby-prof-0.6.0.gem) = f54719cb7f022669456b2304bcfca129d09ad05078a03881abaec7fab9b0cdc8
-SIZE (rubygem/ruby-prof-0.6.0.gem) = 41472
+MD5 (rubygem/ruby-prof-0.7.0.gem) = b50a9a44b8dda561e473b95c0ba0cd4f
+SHA256 (rubygem/ruby-prof-0.7.0.gem) = 77ff44cc9bf4b1a140c227f4b68ff3db20ac0e49ba595d37f8348cfa8f056462
+SIZE (rubygem/ruby-prof-0.7.0.gem) = 50688
diff --git a/devel/rubygem-ruby-prof/pkg-plist b/devel/rubygem-ruby-prof/pkg-plist
deleted file mode 100644
index 4d23b586051f..000000000000
--- a/devel/rubygem-ruby-prof/pkg-plist
+++ /dev/null
@@ -1,113 +0,0 @@
-bin/ruby-prof
-%%GEM_CACHE%%
-%%GEM_DOC_DIR%%/rdoc/classes/RubyProf.html
-%%GEM_DOC_DIR%%/rdoc/classes/RubyProf/AbstractPrinter.html
-%%GEM_DOC_DIR%%/rdoc/classes/RubyProf/CallInfo.html
-%%GEM_DOC_DIR%%/rdoc/classes/RubyProf/CallTreePrinter.html
-%%GEM_DOC_DIR%%/rdoc/classes/RubyProf/FlatPrinter.html
-%%GEM_DOC_DIR%%/rdoc/classes/RubyProf/GraphHtmlPrinter.html
-%%GEM_DOC_DIR%%/rdoc/classes/RubyProf/GraphPrinter.html
-%%GEM_DOC_DIR%%/rdoc/classes/RubyProf/MethodInfo.html
-%%GEM_DOC_DIR%%/rdoc/classes/RubyProf/ProfileTask.html
-%%GEM_DOC_DIR%%/rdoc/classes/RubyProf/Result.html
-%%GEM_DOC_DIR%%/rdoc/classes/Test.html
-%%GEM_DOC_DIR%%/rdoc/classes/Test/Unit.html
-%%GEM_DOC_DIR%%/rdoc/classes/Test/Unit/TestCase.html
-%%GEM_DOC_DIR%%/rdoc/created.rid
-%%GEM_DOC_DIR%%/rdoc/files/LICENSE.html
-%%GEM_DOC_DIR%%/rdoc/files/README.html
-%%GEM_DOC_DIR%%/rdoc/files/bin/ruby-prof.html
-%%GEM_DOC_DIR%%/rdoc/files/examples/flat_txt.html
-%%GEM_DOC_DIR%%/rdoc/files/examples/graph_html.html
-%%GEM_DOC_DIR%%/rdoc/files/examples/graph_txt.html
-%%GEM_DOC_DIR%%/rdoc/files/ext/ruby_prof_c.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/ruby-prof/abstract_printer_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/ruby-prof/call_tree_printer_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/ruby-prof/flat_printer_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/ruby-prof/graph_html_printer_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/ruby-prof/graph_printer_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/ruby-prof/profile_test_case_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/ruby-prof/task_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/ruby-prof_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/unprof_rb.html
-%%GEM_DOC_DIR%%/rdoc/fr_class_index.html
-%%GEM_DOC_DIR%%/rdoc/fr_file_index.html
-%%GEM_DOC_DIR%%/rdoc/fr_method_index.html
-%%GEM_DOC_DIR%%/rdoc/index.html
-%%GEM_DOC_DIR%%/rdoc/rdoc-style.css
-%%GEM_LIB_DIR%%/CHANGES
-%%GEM_LIB_DIR%%/LICENSE
-%%GEM_LIB_DIR%%/README
-%%GEM_LIB_DIR%%/Rakefile
-%%GEM_LIB_DIR%%/bin/ruby-prof
-%%GEM_LIB_DIR%%/examples/flat.txt
-%%GEM_LIB_DIR%%/examples/graph.html
-%%GEM_LIB_DIR%%/examples/graph.txt
-%%GEM_LIB_DIR%%/ext/Makefile
-%%GEM_LIB_DIR%%/ext/extconf.rb
-%%GEM_LIB_DIR%%/ext/extconf.rb.rej
-%%GEM_LIB_DIR%%/ext/measure_allocations.h
-%%GEM_LIB_DIR%%/ext/measure_cpu_time.h
-%%GEM_LIB_DIR%%/ext/measure_memory.h
-%%GEM_LIB_DIR%%/ext/measure_process_time.h
-%%GEM_LIB_DIR%%/ext/measure_wall_time.h
-%%GEM_LIB_DIR%%/ext/mkmf.log
-%%GEM_LIB_DIR%%/ext/ruby_prof.c
-%%GEM_LIB_DIR%%/ext/ruby_prof.o
-%%GEM_LIB_DIR%%/ext/ruby_prof.so
-%%GEM_LIB_DIR%%/lib/ruby-prof.rb
-%%GEM_LIB_DIR%%/lib/ruby_prof.so
-%%GEM_LIB_DIR%%/lib/ruby-prof/abstract_printer.rb
-%%GEM_LIB_DIR%%/lib/ruby-prof/call_tree_printer.rb
-%%GEM_LIB_DIR%%/lib/ruby-prof/call_tree_printer.rb.rej
-%%GEM_LIB_DIR%%/lib/ruby-prof/flat_printer.rb
-%%GEM_LIB_DIR%%/lib/ruby-prof/graph_html_printer.rb
-%%GEM_LIB_DIR%%/lib/ruby-prof/graph_printer.rb
-%%GEM_LIB_DIR%%/lib/ruby-prof/profile_test_case.rb
-%%GEM_LIB_DIR%%/lib/ruby-prof/task.rb
-%%GEM_LIB_DIR%%/lib/unprof.rb
-%%GEM_LIB_DIR%%/rails_plugin/ruby-prof/init.rb
-%%GEM_LIB_DIR%%/rails_plugin/ruby-prof/lib/profiling.rb
-%%GEM_LIB_DIR%%/test/basic_test.rb
-%%GEM_LIB_DIR%%/test/duplicate_names_test.rb
-%%GEM_LIB_DIR%%/test/line_number_test.rb
-%%GEM_LIB_DIR%%/test/measure_mode_test.rb
-%%GEM_LIB_DIR%%/test/module_test.rb
-%%GEM_LIB_DIR%%/test/no_method_class_test.rb
-%%GEM_LIB_DIR%%/test/prime.rb
-%%GEM_LIB_DIR%%/test/prime1.rb
-%%GEM_LIB_DIR%%/test/prime2.rb
-%%GEM_LIB_DIR%%/test/prime3.rb
-%%GEM_LIB_DIR%%/test/prime_test.rb
-%%GEM_LIB_DIR%%/test/printers_test.rb
-%%GEM_LIB_DIR%%/test/profile_unit_test.rb
-%%GEM_LIB_DIR%%/test/recursive_test.rb
-%%GEM_LIB_DIR%%/test/singleton_test.rb
-%%GEM_LIB_DIR%%/test/start_test.rb
-%%GEM_LIB_DIR%%/test/test_helper.rb
-%%GEM_LIB_DIR%%/test/test_suite.rb
-%%GEM_LIB_DIR%%/test/thread_test.rb
-%%GEM_LIB_DIR%%/test/timing_test.rb
-%%GEM_SPEC%%
-@dirrm %%GEM_LIB_DIR%%/test
-@dirrm %%GEM_LIB_DIR%%/rails_plugin/ruby-prof/lib
-@dirrm %%GEM_LIB_DIR%%/rails_plugin/ruby-prof
-@dirrm %%GEM_LIB_DIR%%/rails_plugin
-@dirrm %%GEM_LIB_DIR%%/lib/ruby-prof
-@dirrm %%GEM_LIB_DIR%%/lib
-@dirrm %%GEM_LIB_DIR%%/ext
-@dirrm %%GEM_LIB_DIR%%/examples
-@dirrm %%GEM_LIB_DIR%%/bin
-@dirrm %%GEM_LIB_DIR%%
-@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib/ruby-prof
-@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib
-@dirrm %%GEM_DOC_DIR%%/rdoc/files/ext
-@dirrm %%GEM_DOC_DIR%%/rdoc/files/examples
-@dirrm %%GEM_DOC_DIR%%/rdoc/files/bin
-@dirrm %%GEM_DOC_DIR%%/rdoc/files
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Test/Unit
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Test
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes/RubyProf
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes
-@dirrm %%GEM_DOC_DIR%%/rdoc
-@dirrm %%GEM_DOC_DIR%%