SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
textproc/ruby-syntax/Makefile
Normal file
20
textproc/ruby-syntax/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
|||
COMMENT = module for using syntax highlighting in ruby
|
||||
|
||||
DISTNAME = syntax-1.0.0
|
||||
CATEGORIES = textproc
|
||||
|
||||
REVISION = 3
|
||||
|
||||
# MIT License
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MODULES = lang/ruby
|
||||
|
||||
CONFIGURE_STYLE = ruby gem
|
||||
|
||||
MODRUBY_TEST = rake
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && ${LOCALBASE}/bin/ruby test/ALL-TESTS.rb --verbose
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/ruby-syntax/distinfo
Normal file
2
textproc/ruby-syntax/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (syntax-1.0.0.gem) = YF4vYncLrQToSbOhoiNORbKQSoWS8vTcwLsU3OCcI/0=
|
||||
SIZE (syntax-1.0.0.gem) = 15360
|
20
textproc/ruby-syntax/patches/patch-test_syntax_tc_yaml_rb
Normal file
20
textproc/ruby-syntax/patches/patch-test_syntax_tc_yaml_rb
Normal file
|
@ -0,0 +1,20 @@
|
|||
This regress test goes into an infinite loop.
|
||||
|
||||
--- test/syntax/tc_yaml.rb.orig Tue Oct 26 14:29:45 2010
|
||||
+++ test/syntax/tc_yaml.rb Tue Oct 26 14:29:55 2010
|
||||
@@ -214,15 +214,4 @@ EOF
|
||||
assert_equal [ :normal, " baz\n" ], [ tok.first.group, tok.shift ]
|
||||
end
|
||||
|
||||
- def test_long_test_at_eof
|
||||
- tok = []
|
||||
- @yaml.tokenize( "foo: >\n one two\n three four" ) { |t| tok << t }
|
||||
- assert_equal [ :key, "foo" ], [ tok.first.group, tok.shift ]
|
||||
- assert_equal [ :punct, ":" ], [ tok.first.group, tok.shift ]
|
||||
- assert_equal [ :normal, " " ], [ tok.first.group, tok.shift ]
|
||||
- assert_equal [ :punct, ">" ], [ tok.first.group, tok.shift ]
|
||||
- assert_equal [ :normal, "\n" ], [ tok.first.group, tok.shift ]
|
||||
- assert_equal [ :string, " one two\n three four" ], [ tok.first.group, tok.shift ]
|
||||
- end
|
||||
-
|
||||
end
|
2
textproc/ruby-syntax/pkg/DESCR
Normal file
2
textproc/ruby-syntax/pkg/DESCR
Normal file
|
@ -0,0 +1,2 @@
|
|||
Syntax highlighting library for various languages. Has built-in support
|
||||
for converting source code to syntax-highlighted HTML.
|
27
textproc/ruby-syntax/pkg/PLIST
Normal file
27
textproc/ruby-syntax/pkg/PLIST
Normal file
|
@ -0,0 +1,27 @@
|
|||
${GEM_LIB}/cache/${DISTNAME}.gem
|
||||
${GEM_LIB}/gems/${DISTNAME}/
|
||||
${GEM_LIB}/gems/${DISTNAME}/data/
|
||||
${GEM_LIB}/gems/${DISTNAME}/data/ruby.css
|
||||
${GEM_LIB}/gems/${DISTNAME}/data/xml.css
|
||||
${GEM_LIB}/gems/${DISTNAME}/data/yaml.css
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax/common.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax/convertors/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax/convertors/abstract.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax/convertors/html.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax/lang/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax/lang/ruby.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax/lang/xml.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax/lang/yaml.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/syntax/version.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/ALL-TESTS.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/syntax/
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/syntax/tc_ruby.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/syntax/tc_xml.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/syntax/tc_yaml.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/syntax/tokenizer_testcase.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/tc_syntax.rb
|
||||
${GEM_LIB}/specifications/${DISTNAME}.gemspec
|
Loading…
Add table
Add a link
Reference in a new issue