aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-rss.alt
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-03-23 16:45:41 +0800
committerknu <knu@FreeBSD.org>2003-03-23 16:45:41 +0800
commita0fc56a8f3603cf9494ccecb24c018144100a94b (patch)
tree2f6aa05e196d64849c849d57468d82fc2fac27cc /textproc/ruby-rss.alt
parentecc18996eab4c00185c40baec589c2f7ba479a93 (diff)
downloadfreebsd-ports-gnome-a0fc56a8f3603cf9494ccecb24c018144100a94b.tar.gz
freebsd-ports-gnome-a0fc56a8f3603cf9494ccecb24c018144100a94b.tar.zst
freebsd-ports-gnome-a0fc56a8f3603cf9494ccecb24c018144100a94b.zip
Add ruby-rss.alt, a Ruby library for handling RSS (alternative impl.).
Diffstat (limited to 'textproc/ruby-rss.alt')
-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
4 files changed, 105 insertions, 0 deletions
diff --git a/textproc/ruby-rss.alt/Makefile b/textproc/ruby-rss.alt/Makefile
new file mode 100644
index 000000000000..973262121056
--- /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 000000000000..2264a44e3aac
--- /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 000000000000..c79a5c4a89f3
--- /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 000000000000..c82368a318a3
--- /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%%