pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ruby-syntax Import ruby-syntax.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa94bd31be23
branches:  trunk
changeset: 529096:aa94bd31be23
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu May 24 10:48:11 2007 +0000

description:
Import ruby-syntax.

Syntax is a lexical analysis framework.  It supports pluggable syntax
modules, and comes with modules for Ruby, XML, and YAML.  It means you
can use Syntax to take a body of text representing instructions in
some syntax (like Ruby), and break that text into tokens.  You could
conceivably use it to count the number of classes in a system, or the
number of lines of code per method.  But Syntax was written
specifically with syntax highlighting in mind.

diffstat:

 textproc/ruby-syntax/DESCR    |   7 +++++++
 textproc/ruby-syntax/Makefile |  17 +++++++++++++++++
 textproc/ruby-syntax/PLIST    |  12 ++++++++++++
 textproc/ruby-syntax/distinfo |   5 +++++
 4 files changed, 41 insertions(+), 0 deletions(-)

diffs (57 lines):

diff -r c92e3d361495 -r aa94bd31be23 textproc/ruby-syntax/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-syntax/DESCR        Thu May 24 10:48:11 2007 +0000
@@ -0,0 +1,7 @@
+Syntax is a lexical analysis framework.  It supports pluggable syntax
+modules, and comes with modules for Ruby, XML, and YAML.  It means you
+can use Syntax to take a body of text representing instructions in
+some syntax (like Ruby), and break that text into tokens.  You could
+conceivably use it to count the number of classes in a system, or the
+number of lines of code per method.  But Syntax was written
+specifically with syntax highlighting in mind.
diff -r c92e3d361495 -r aa94bd31be23 textproc/ruby-syntax/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-syntax/Makefile     Thu May 24 10:48:11 2007 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/24 10:48:11 minskim Exp $
+
+DISTNAME=      syntax-1.0.0
+PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc ruby
+MASTER_SITES=  http://rubyforge.org/frs/download.php/4952/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      http://syntax.rubyforge.org/
+COMMENT=       Ruby lexical analysis framework
+
+USE_LANGUAGES= # none
+USE_RUBY_SETUP= yes
+
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c92e3d361495 -r aa94bd31be23 textproc/ruby-syntax/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-syntax/PLIST        Thu May 24 10:48:11 2007 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/24 10:48:11 minskim Exp $
+${RUBY_SITELIBDIR}/syntax.rb
+${RUBY_SITELIBDIR}/syntax/common.rb
+${RUBY_SITELIBDIR}/syntax/convertors/abstract.rb
+${RUBY_SITELIBDIR}/syntax/convertors/html.rb
+${RUBY_SITELIBDIR}/syntax/lang/ruby.rb
+${RUBY_SITELIBDIR}/syntax/lang/xml.rb
+${RUBY_SITELIBDIR}/syntax/lang/yaml.rb
+${RUBY_SITELIBDIR}/syntax/version.rb
+@dirrm ${RUBY_SITELIBDIR}/syntax/lang
+@dirrm ${RUBY_SITELIBDIR}/syntax/convertors
+@dirrm ${RUBY_SITELIBDIR}/syntax
diff -r c92e3d361495 -r aa94bd31be23 textproc/ruby-syntax/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-syntax/distinfo     Thu May 24 10:48:11 2007 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/24 10:48:11 minskim Exp $
+
+SHA1 (syntax-1.0.0.tar.bz2) = c5c28bdb60c756120568a7c96347d6690058e9f7
+RMD160 (syntax-1.0.0.tar.bz2) = 3c34ce247b535416c8f09664209793e9089bdab2
+Size (syntax-1.0.0.tar.bz2) = 43126 bytes



Home | Main Index | Thread Index | Old Index