aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-rss
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-10 11:46:19 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-10 11:46:19 +0000
commit065c096fb3eba997d404c7cb56540eb1a9407516 (patch)
tree38878e4d789abdf5819a85247cd64f3b55c2c35a /textproc/ruby-rss
parentb186eff16299e1c0f90675d1ddf71599c13c00f4 (diff)
downloadports-065c096fb3eba997d404c7cb56540eb1a9407516.tar.gz
ports-065c096fb3eba997d404c7cb56540eb1a9407516.zip
Notes
Diffstat (limited to 'textproc/ruby-rss')
-rw-r--r--textproc/ruby-rss/Makefile42
-rw-r--r--textproc/ruby-rss/distinfo1
-rw-r--r--textproc/ruby-rss/pkg-comment1
-rw-r--r--textproc/ruby-rss/pkg-descr5
-rw-r--r--textproc/ruby-rss/pkg-plist13
5 files changed, 62 insertions, 0 deletions
diff --git a/textproc/ruby-rss/Makefile b/textproc/ruby-rss/Makefile
new file mode 100644
index 000000000000..1004e5e06050
--- /dev/null
+++ b/textproc/ruby-rss/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: Ruby/RSS
+# Date created: 10 March 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rss
+PORTVERSION= 0.9.1
+CATEGORIES= textproc ruby
+MASTER_SITES= http://www.chadfowler.com/ruby/rss/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/xmlparser.rb:${PORTSDIR}/textproc/ruby-xmlparser
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+INSTALL_TARGET= site-install
+
+RUBY_SHEBANG_FILES= ${WRKSRC}/rssdrb.rb ${WRKSRC}/samples/rsstest.rb
+DOCS= ChangeLog README
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/rss*.rb ${RUBY_SITELIBDIR}/
+ ${CHMOD} +x ${RUBY_SITELIBDIR}/rssdrb.rb
+ ${LN} -fs ${RUBY_SITELIBDIR}/rssdrb.rb ${PREFIX}/sbin/
+ ${LN} -fs rssdrb.rb ${PREFIX}/sbin/rssdrb
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-rss/distinfo b/textproc/ruby-rss/distinfo
new file mode 100644
index 000000000000..cfd994281662
--- /dev/null
+++ b/textproc/ruby-rss/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rss-ruby-0.9.1.tar.gz) = d6375ae1400beff7ba1020cae4619c0e
diff --git a/textproc/ruby-rss/pkg-comment b/textproc/ruby-rss/pkg-comment
new file mode 100644
index 000000000000..0c890996e03c
--- /dev/null
+++ b/textproc/ruby-rss/pkg-comment
@@ -0,0 +1 @@
+Ruby library for parsing, creating, downloading, and caching RSS
diff --git a/textproc/ruby-rss/pkg-descr b/textproc/ruby-rss/pkg-descr
new file mode 100644
index 000000000000..bdff94bdcb8d
--- /dev/null
+++ b/textproc/ruby-rss/pkg-descr
@@ -0,0 +1,5 @@
+This is a Ruby library for parsing, creating, downloading, and caching
+RSS (http://my.netscape.com/publish/help/mnn20/quickstart.html).
+
+Author: Chad Fowler <cfowler@chadfowler.com>
+WWW: http://www.chadfowler.com/index.cgi?mode=max&cat=ruby
diff --git a/textproc/ruby-rss/pkg-plist b/textproc/ruby-rss/pkg-plist
new file mode 100644
index 000000000000..02920b0e794a
--- /dev/null
+++ b/textproc/ruby-rss/pkg-plist
@@ -0,0 +1,13 @@
+sbin/rssdrb
+sbin/rssdrb.rb
+%%RUBY_SITELIBDIR%%/rss.rb
+%%RUBY_SITELIBDIR%%/rsscache.rb
+%%RUBY_SITELIBDIR%%/rssdrb.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rss/create.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rss/fromfile.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rss/raa-rss-1.xml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rss/rsstest.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/rss
+%%PORTDOCS%%%%RUBY_DOCDIR%%/rss/ChangeLog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/rss/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/rss