pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ruby-maruku Import ruby-maruku.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9621d057eefd
branches: trunk
changeset: 530002:9621d057eefd
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri Jun 15 01:05:05 2007 +0000
description:
Import ruby-maruku.
Maruku is a Markdown interpreter written in Ruby.
The other Ruby implementation of Markdown is Bluecloth. Maruku is
much different in philosophy from Bluecloth; the biggest difference is
that parsing is separated from rendering. In Maruku, an in-memory
representation of the Markdown document is created. Instead,
Bluecloth mantains the document in memory as a String at all times,
and does a series of gsub to transform to HTML.
Maruku is usually faster than Bluecloth. Bluecloth is faster for very
small documents. Bluecloth sometimes chokes on very big documents (it
is reported that the blame should be on Ruby's regexp implementation).
diffstat:
textproc/ruby-maruku/DESCR | 12 ++++++++
textproc/ruby-maruku/Makefile | 25 +++++++++++++++++
textproc/ruby-maruku/PLIST | 60 +++++++++++++++++++++++++++++++++++++++++++
textproc/ruby-maruku/distinfo | 5 +++
4 files changed, 102 insertions(+), 0 deletions(-)
diffs (118 lines):
diff -r 7e13c4e82118 -r 9621d057eefd textproc/ruby-maruku/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-maruku/DESCR Fri Jun 15 01:05:05 2007 +0000
@@ -0,0 +1,12 @@
+Maruku is a Markdown interpreter written in Ruby.
+
+The other Ruby implementation of Markdown is Bluecloth. Maruku is
+much different in philosophy from Bluecloth; the biggest difference is
+that parsing is separated from rendering. In Maruku, an in-memory
+representation of the Markdown document is created. Instead,
+Bluecloth mantains the document in memory as a String at all times,
+and does a series of gsub to transform to HTML.
+
+Maruku is usually faster than Bluecloth. Bluecloth is faster for very
+small documents. Bluecloth sometimes chokes on very big documents (it
+is reported that the blame should be on Ruby's regexp implementation).
diff -r 7e13c4e82118 -r 9621d057eefd textproc/ruby-maruku/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-maruku/Makefile Fri Jun 15 01:05:05 2007 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/06/15 01:05:05 minskim Exp $
+
+DISTNAME= maruku-0.5.6
+CATEGORIES= textproc ruby
+MASTER_SITES= http://rubyforge.org/frs/download.php/21120/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= minskim%NetBSD.org@localhost
+HOMEPAGE= http://maruku.rubyforge.org/
+COMMENT= Markdown-superset interpreter
+
+NO_BUILD= yes
+USE_LANGUAGES= # none
+
+REPLACE_RUBY= bin/*
+
+.include "../../lang/ruby/modules.mk"
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin
+ cd ${WRKSRC}/lib && pax -rwppm . ${RUBY_SITELIBDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 7e13c4e82118 -r 9621d057eefd textproc/ruby-maruku/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-maruku/PLIST Fri Jun 15 01:05:05 2007 +0000
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/15 01:05:05 minskim Exp $
+bin/marudown
+bin/maruku
+bin/marutest
+bin/marutex
+${RUBY_SITELIBDIR}/maruku.rb
+${RUBY_SITELIBDIR}/maruku/attributes.rb
+${RUBY_SITELIBDIR}/maruku/defaults.rb
+${RUBY_SITELIBDIR}/maruku/errors_management.rb
+${RUBY_SITELIBDIR}/maruku/ext/math.rb
+${RUBY_SITELIBDIR}/maruku/ext/math/elements.rb
+${RUBY_SITELIBDIR}/maruku/ext/math/mathml_engines/blahtex.rb
+${RUBY_SITELIBDIR}/maruku/ext/math/mathml_engines/itex2mml.rb
+${RUBY_SITELIBDIR}/maruku/ext/math/mathml_engines/none.rb
+${RUBY_SITELIBDIR}/maruku/ext/math/mathml_engines/ritex.rb
+${RUBY_SITELIBDIR}/maruku/ext/math/parsing.rb
+${RUBY_SITELIBDIR}/maruku/ext/math/to_html.rb
+${RUBY_SITELIBDIR}/maruku/ext/math/to_latex.rb
+${RUBY_SITELIBDIR}/maruku/helpers.rb
+${RUBY_SITELIBDIR}/maruku/input/charsource.rb
+${RUBY_SITELIBDIR}/maruku/input/extensions.rb
+${RUBY_SITELIBDIR}/maruku/input/html_helper.rb
+${RUBY_SITELIBDIR}/maruku/input/linesource.rb
+${RUBY_SITELIBDIR}/maruku/input/parse_block.rb
+${RUBY_SITELIBDIR}/maruku/input/parse_doc.rb
+${RUBY_SITELIBDIR}/maruku/input/parse_span_better.rb
+${RUBY_SITELIBDIR}/maruku/input/rubypants.rb
+${RUBY_SITELIBDIR}/maruku/input/type_detection.rb
+${RUBY_SITELIBDIR}/maruku/input_textile2/t2_parser.rb
+${RUBY_SITELIBDIR}/maruku/maruku.rb
+${RUBY_SITELIBDIR}/maruku/output/s5/fancy.rb
+${RUBY_SITELIBDIR}/maruku/output/s5/to_s5.rb
+${RUBY_SITELIBDIR}/maruku/output/to_html.rb
+${RUBY_SITELIBDIR}/maruku/output/to_latex.rb
+${RUBY_SITELIBDIR}/maruku/output/to_latex_entities.rb
+${RUBY_SITELIBDIR}/maruku/output/to_latex_strings.rb
+${RUBY_SITELIBDIR}/maruku/output/to_markdown.rb
+${RUBY_SITELIBDIR}/maruku/output/to_s.rb
+${RUBY_SITELIBDIR}/maruku/string_utils.rb
+${RUBY_SITELIBDIR}/maruku/structures.rb
+${RUBY_SITELIBDIR}/maruku/structures_inspect.rb
+${RUBY_SITELIBDIR}/maruku/structures_iterators.rb
+${RUBY_SITELIBDIR}/maruku/tests/benchmark.rb
+${RUBY_SITELIBDIR}/maruku/tests/new_parser.rb
+${RUBY_SITELIBDIR}/maruku/tests/tests.rb
+${RUBY_SITELIBDIR}/maruku/textile2.rb
+${RUBY_SITELIBDIR}/maruku/toc.rb
+${RUBY_SITELIBDIR}/maruku/usage/example1.rb
+${RUBY_SITELIBDIR}/maruku/version.rb
+${RUBY_SITELIBDIR}/sort_prof.rb
+@dirrm ${RUBY_SITELIBDIR}/maruku/usage
+@dirrm ${RUBY_SITELIBDIR}/maruku/tests
+@dirrm ${RUBY_SITELIBDIR}/maruku/output/s5
+@dirrm ${RUBY_SITELIBDIR}/maruku/output
+@dirrm ${RUBY_SITELIBDIR}/maruku/input_textile2
+@dirrm ${RUBY_SITELIBDIR}/maruku/input
+@dirrm ${RUBY_SITELIBDIR}/maruku/ext/math/mathml_engines
+@dirrm ${RUBY_SITELIBDIR}/maruku/ext/math
+@dirrm ${RUBY_SITELIBDIR}/maruku/ext
+@dirrm ${RUBY_SITELIBDIR}/maruku
diff -r 7e13c4e82118 -r 9621d057eefd textproc/ruby-maruku/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-maruku/distinfo Fri Jun 15 01:05:05 2007 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/06/15 01:05:05 minskim Exp $
+
+SHA1 (maruku-0.5.6.tgz) = 464e52823eff128b7e6c3211c032959ac0e980f1
+RMD160 (maruku-0.5.6.tgz) = 0ac021003a10f9dac2ef5959499f5286a0ae01bb
+Size (maruku-0.5.6.tgz) = 161463 bytes
Home |
Main Index |
Thread Index |
Old Index