aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-09-14 21:02:28 +0800
committerdinoex <dinoex@FreeBSD.org>2005-09-14 21:02:28 +0800
commitfcc5608148ed76cf7c6cb63f7b5d11377440457c (patch)
treec485e45ad07a47ddb3a37839ade67b35c6ab0c8e /textproc
parent5d6f021aebfd76a61be7508785ff2537c0d31c3f (diff)
downloadfreebsd-ports-gnome-fcc5608148ed76cf7c6cb63f7b5d11377440457c.tar.gz
freebsd-ports-gnome-fcc5608148ed76cf7c6cb63f7b5d11377440457c.tar.zst
freebsd-ports-gnome-fcc5608148ed76cf7c6cb63f7b5d11377440457c.zip
Syntax highlighting library for various languages. Has built-in support
for converting source code to syntax-highlighted HTML. WWW: http://rubyforge.org/projects/syntax/
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-syntax/Makefile50
-rw-r--r--textproc/rubygem-syntax/distinfo2
-rw-r--r--textproc/rubygem-syntax/pkg-descr4
-rw-r--r--textproc/rubygem-syntax/pkg-plist87
5 files changed, 144 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 76d2d8acce19..d85cce92a903 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -645,6 +645,7 @@
SUBDIR += ruby-xmlscan-old
SUBDIR += ruby-xslt
SUBDIR += ruby-xtemplate
+ SUBDIR += rubygem-syntax
SUBDIR += rw-aspell
SUBDIR += rxp
SUBDIR += sablotron
diff --git a/textproc/rubygem-syntax/Makefile b/textproc/rubygem-syntax/Makefile
new file mode 100644
index 000000000000..d71e28b8567e
--- /dev/null
+++ b/textproc/rubygem-syntax/Makefile
@@ -0,0 +1,50 @@
+# Ports collection makefile for: gem-syntax
+# Date created: 11 Sep 2005
+# Whom: dirk.meyer@dinoex.sub.org
+#
+# $FreeBSD$
+
+PORTNAME= syntax
+PORTVERSION= 1.0.0
+CATEGORIES= textproc ruby
+MASTER_SITES= http://rubyforge.org/frs/download.php/4953/
+
+MAINTAINER= dinoex@FreeBSD.org
+COMMENT= A module for using Systax highlighting in Ruby
+
+.include <bsd.port.pre.mk>
+#.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
+# syntax.gem has invalid content, we need to buuild the gem ourself
+
+BUILD_DEPENDS+= ${RUBYGEMBIN}:${PORTSDIR}/devel/ruby-gems
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+
+PKGNAMEPREFIX= rubygem-
+
+USE_REINPLACE= yes
+
+REV= 1.8
+GEMS_BASE_DIR= lib/ruby/gems/${REV}
+GEMS_DIR= ${GEMS_BASE_DIR}/gems
+DOC_DIR= ${GEMS_BASE_DIR}/doc
+CACHE_DIR= ${GEMS_BASE_DIR}/cache
+SPEC_DIR= ${GEMS_BASE_DIR}/specifications
+
+PLIST_SUB+= PORTVERSION="${PORTVERSION}" \
+ REV="${REV}" \
+ GEMS_BASE_DIR="lib/ruby/gems/${REV}" \
+ GEMS_DIR="${GEMS_BASE_DIR}/gems" \
+ DOC_DIR="${GEMS_BASE_DIR}/doc" \
+ CACHE_DIR="${GEMS_BASE_DIR}/cache" \
+ SPEC_DIR="${GEMS_BASE_DIR}/specifications" \
+ PORT="${PORTNAME}-${PORTVERSION}"
+
+RUBYGEMBIN= ${LOCALBASE}/bin/gem
+
+do-build:
+ cd ${WRKSRC} && ${RUBYGEMBIN} build syntax.gemspec
+
+do-install:
+ ${RUBYGEMBIN} install --install-dir ${PREFIX}/lib/ruby/gems/${REV} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.gem
+
+.include <bsd.port.post.mk>
diff --git a/textproc/rubygem-syntax/distinfo b/textproc/rubygem-syntax/distinfo
new file mode 100644
index 000000000000..4bd23fa25231
--- /dev/null
+++ b/textproc/rubygem-syntax/distinfo
@@ -0,0 +1,2 @@
+MD5 (syntax-1.0.0.tar.gz) = bfba585cd8d1511dad3daff910a9cc8e
+SIZE (syntax-1.0.0.tar.gz) = 54191
diff --git a/textproc/rubygem-syntax/pkg-descr b/textproc/rubygem-syntax/pkg-descr
new file mode 100644
index 000000000000..b385ea70dd65
--- /dev/null
+++ b/textproc/rubygem-syntax/pkg-descr
@@ -0,0 +1,4 @@
+Syntax highlighting library for various languages. Has built-in support
+for converting source code to syntax-highlighted HTML.
+
+WWW: http://rubyforge.org/projects/syntax/
diff --git a/textproc/rubygem-syntax/pkg-plist b/textproc/rubygem-syntax/pkg-plist
new file mode 100644
index 000000000000..f5c62de8da42
--- /dev/null
+++ b/textproc/rubygem-syntax/pkg-plist
@@ -0,0 +1,87 @@
+%%CACHE_DIR%%/syntax-%%PORTVERSION%%.gem
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax/common.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax/version.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax/convertors/abstract.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax/convertors/html.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax/lang/ruby.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax/lang/xml.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax/lang/yaml.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/test/ALL-TESTS.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/test/tc_syntax.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/test/syntax/tc_ruby.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/test/syntax/tc_xml.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/test/syntax/tc_yaml.rb
+%%GEMS_DIR%%/syntax-%%PORTVERSION%%/test/syntax/tokenizer_testcase.rb
+%%SPEC_DIR%%/syntax-%%PORTVERSION%%.gemspec
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/created.rid
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/rdoc-style.css
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax_rb.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax/common_rb.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax/version_rb.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax/convertors/abstract_rb.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax/convertors/html_rb.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax/lang/ruby_rb.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax/lang/xml_rb.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax/lang/yaml_rb.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax.src/M000001.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax.src/M000002.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Convertors/HTML.src/M000003.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Convertors/Abstract.src/M000004.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Convertors/Abstract.src/M000005.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Convertors/HTML.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Convertors/Abstract.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/XML.src/M000006.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/XML.src/M000007.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Ruby.src/M000008.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Ruby.src/M000009.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Tokenizer.src/M000010.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Tokenizer.src/M000011.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Tokenizer.src/M000012.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Tokenizer.src/M000013.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Tokenizer.src/M000014.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Tokenizer.src/M000015.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Tokenizer.src/M000016.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Tokenizer.src/M000017.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Default.src/M000018.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/YAML.src/M000019.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Token.src/M000020.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Version.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Convertors.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/XML.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Ruby.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Tokenizer.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Default.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/YAML.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Token.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/fr_file_index.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/fr_class_index.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/fr_method_index.html
+%%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/index.html
+@dirrm %%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax/convertors
+@dirrm %%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax/lang
+@dirrm %%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib/syntax
+@dirrm %%GEMS_DIR%%/syntax-%%PORTVERSION%%/lib
+@dirrm %%GEMS_DIR%%/syntax-%%PORTVERSION%%/test/syntax
+@dirrm %%GEMS_DIR%%/syntax-%%PORTVERSION%%/test
+@dirrm %%GEMS_DIR%%/syntax-%%PORTVERSION%%
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax/convertors
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax/lang
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib/syntax
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files/lib
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/files
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax.src
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Convertors/HTML.src
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Convertors/Abstract.src
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Convertors
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/XML.src
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Ruby.src
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Tokenizer.src
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Default.src
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/YAML.src
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax/Token.src
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes/Syntax
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc/classes
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%/rdoc
+@dirrm %%DOC_DIR%%/syntax-%%PORTVERSION%%