summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/ruby-rss.alt/Makefile44
-rw-r--r--textproc/ruby-rss.alt/distinfo1
-rw-r--r--textproc/ruby-rss.alt/pkg-descr13
-rw-r--r--textproc/ruby-rss.alt/pkg-plist47
5 files changed, 106 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index a264bac..aa4297b 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -345,6 +345,7 @@
SUBDIR += ruby-rdtool
SUBDIR += ruby-rexml
SUBDIR += ruby-rss
+ SUBDIR += ruby-rss.alt
SUBDIR += ruby-sablot
SUBDIR += ruby-sary
SUBDIR += ruby-spreadsheet-excel
diff --git a/textproc/ruby-rss.alt/Makefile b/textproc/ruby-rss.alt/Makefile
new file mode 100644
index 0000000..9732621
--- /dev/null
+++ b/textproc/ruby-rss.alt/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: Ruby/RSS (alternative impl.)
+# Date created: 23 March 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rss
+PORTVERSION= 0.0.1
+CATEGORIES= textproc ruby
+MASTER_SITES= http://cozmixng.sgk.iwate-u.ac.jp/~kou/download/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+PKGNAMESUFFIX= .alt
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= Ruby library for handling RSS (alternative impl.)
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv \
+ ${RUBY_SITELIBDIR}/xmlscan/parser.rb:${PORTSDIR}/textproc/ruby-xmlscan
+# You can use REXML as an alternative to xmlscan, but 2.5.0 or later only:
+# ${RUBY_SITELIBDIR}/rexml/document.rb:${PORTSDIR}/textproc/ruby-rexml
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+
+DOCS_EN= README.en Tutorial.en
+DOCS_JA= README.ja Tutorial.ja
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${RUBY_MODDOCDIR}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-rss.alt/distinfo b/textproc/ruby-rss.alt/distinfo
new file mode 100644
index 0000000..2264a44
--- /dev/null
+++ b/textproc/ruby-rss.alt/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rss-0.0.1.tar.gz) = 5ae80930a738e93de16d6d0e27bbbefc
diff --git a/textproc/ruby-rss.alt/pkg-descr b/textproc/ruby-rss.alt/pkg-descr
new file mode 100644
index 0000000..c79a5c4
--- /dev/null
+++ b/textproc/ruby-rss.alt/pkg-descr
@@ -0,0 +1,13 @@
+This library can parse RSS (RDF Site Summary) 1.0 with validation (or
+non validation).
+
+This library can almost well parse RSS 0.9x/2.0 with non validation.
+
+This library contains a sample that expand [RAA:RWiki].
+
+* output recent changes as RSS 1.0.
+* collect RSS 1.0s and display those items sorted by updating time.
+* collect RSSs and display those items on each page.
+
+Author: kou <kou822@ybb.ne.jp>
+WWW: http://cozmixng.sgk.iwate-u.ac.jp/rwiki/index.rb?cmd=view;name=Ruby%2FRSS
diff --git a/textproc/ruby-rss.alt/pkg-plist b/textproc/ruby-rss.alt/pkg-plist
new file mode 100644
index 0000000..c82368a
--- /dev/null
+++ b/textproc/ruby-rss.alt/pkg-plist
@@ -0,0 +1,47 @@
+%%RUBY_SITELIBDIR%%/rss/0.9.rb
+%%RUBY_SITELIBDIR%%/rss/1.0.rb
+%%RUBY_SITELIBDIR%%/rss/content.rb
+%%RUBY_SITELIBDIR%%/rss/converter.rb
+%%RUBY_SITELIBDIR%%/rss/dublincore.rb
+%%RUBY_SITELIBDIR%%/rss/parser.rb
+%%RUBY_SITELIBDIR%%/rss/rexmlparser.rb
+%%RUBY_SITELIBDIR%%/rss/rss.rb
+%%RUBY_SITELIBDIR%%/rss/syndication.rb
+%%RUBY_SITELIBDIR%%/rss/taxonomy.rb
+%%RUBY_SITELIBDIR%%/rss/utils.rb
+%%RUBY_SITELIBDIR%%/rss/xmlscanner.rb
+%%RUBY_SITELIBDIR%%/rwiki/recent1.0.rrdf
+%%RUBY_SITELIBDIR%%/rwiki/rss-maneger.rb
+%%RUBY_SITELIBDIR%%/rwiki/rss-navi.rhtml
+%%RUBY_SITELIBDIR%%/rwiki/rss-page.rb
+%%RUBY_SITELIBDIR%%/rwiki/rss-recent.erd
+%%RUBY_SITELIBDIR%%/rwiki/rss-recent.rb
+%%RUBY_SITELIBDIR%%/rwiki/rss-recent.rhtml
+%%RUBY_SITELIBDIR%%/rwiki/rss-topic.erd
+%%RUBY_SITELIBDIR%%/rwiki/rss-topic.rb
+%%RUBY_SITELIBDIR%%/rwiki/rss-topic.rhtml
+%%RUBY_SITELIBDIR%%/rwiki/rss.rb
+@dirrm %%RUBY_SITELIBDIR%%/rwiki
+@dirrm %%RUBY_SITELIBDIR%%/rss
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/articles.rss
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/list_description.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/news.rss
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/php.rss
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/raa-rdf10.xml
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rnn.rdf
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rssMarkPilgrimExample.xml
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rss_recent.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rwiki.rss
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleRss.xml
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/slashdot.rdf
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/slashdotorg.rdf
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/t.rdf
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/w3c.rdf
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/wiliki.rss
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Tutorial.en
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/Tutorial.ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
OpenPOWER on IntegriCloud