summaryrefslogtreecommitdiff
path: root/textproc/ruby-feed-normalizer
diff options
context:
space:
mode:
authorminskim <minskim>2007-06-11 04:40:37 +0000
committerminskim <minskim>2007-06-11 04:40:37 +0000
commit00a430b292c04ad741b8c5e8b2362b7d20f2a453 (patch)
tree20a34e9e5596f0bc8997332c7aaa3e7548a9b9f6 /textproc/ruby-feed-normalizer
parent0c14ff56d3d36d2a1e0ce31c80557c686aec0d75 (diff)
downloadpkgsrc-00a430b292c04ad741b8c5e8b2362b7d20f2a453.tar.gz
Import ruby-feed-normalizer.
Feed normalizer is an extensible Ruby wrapper for Atom and RSS parsers. It wraps various RSS and Atom parsers, and returns a single unified object graph, regardless of the underlying feed format.
Diffstat (limited to 'textproc/ruby-feed-normalizer')
-rw-r--r--textproc/ruby-feed-normalizer/DESCR3
-rw-r--r--textproc/ruby-feed-normalizer/Makefile26
-rw-r--r--textproc/ruby-feed-normalizer/PLIST9
-rw-r--r--textproc/ruby-feed-normalizer/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/textproc/ruby-feed-normalizer/DESCR b/textproc/ruby-feed-normalizer/DESCR
new file mode 100644
index 00000000000..82719f8c475
--- /dev/null
+++ b/textproc/ruby-feed-normalizer/DESCR
@@ -0,0 +1,3 @@
+Feed normalizer is an extensible Ruby wrapper for Atom and RSS
+parsers. It wraps various RSS and Atom parsers, and returns a single
+unified object graph, regardless of the underlying feed format.
diff --git a/textproc/ruby-feed-normalizer/Makefile b/textproc/ruby-feed-normalizer/Makefile
new file mode 100644
index 00000000000..d400b2cc8ea
--- /dev/null
+++ b/textproc/ruby-feed-normalizer/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/06/11 04:40:37 minskim Exp $
+
+DISTNAME= feed-normalizer-1.3.0
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc ruby
+MASTER_SITES= http://rubyforge.org/frs/download.php/20927/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://feed-normalizer.rubyforge.org/
+COMMENT= Extensible Ruby wrapper for Atom and RSS parsers
+
+DEPENDS+= ${RUBY_PKGPREFIX}-simple-rss>=1.1:../../textproc/ruby-simple-rss
+DEPENDS+= ${RUBY_PKGPREFIX}-hpricot>=0.4:../../textproc/ruby-hpricot
+
+NO_BUILD= yes
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/modules.mk"
+
+do-install:
+ cd ${WRKSRC}/lib && pax -rwppm . ${RUBY_SITELIBDIR}
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/feed-normalizer
+ ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${RUBY_DOCDIR}/feed-normalizer
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-feed-normalizer/PLIST b/textproc/ruby-feed-normalizer/PLIST
new file mode 100644
index 00000000000..36fb3a7a153
--- /dev/null
+++ b/textproc/ruby-feed-normalizer/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/11 04:40:37 minskim Exp $
+${RUBY_SITELIBDIR}/feed-normalizer.rb
+${RUBY_SITELIBDIR}/html-cleaner.rb
+${RUBY_SITELIBDIR}/parsers/rss.rb
+${RUBY_SITELIBDIR}/parsers/simple-rss.rb
+${RUBY_SITELIBDIR}/structures.rb
+${RUBY_DOCDIR}/feed-normalizer/Readme.txt
+@dirrm ${RUBY_DOCDIR}/feed-normalizer
+@dirrm ${RUBY_SITELIBDIR}/parsers
diff --git a/textproc/ruby-feed-normalizer/distinfo b/textproc/ruby-feed-normalizer/distinfo
new file mode 100644
index 00000000000..0e937ed4c37
--- /dev/null
+++ b/textproc/ruby-feed-normalizer/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/06/11 04:40:37 minskim Exp $
+
+SHA1 (feed-normalizer-1.3.0.zip) = 20aea1968e25d251c0f44f5c64b4aaeb78481604
+RMD160 (feed-normalizer-1.3.0.zip) = 2a6a5173969fdb54763a44445672f454504865cd
+Size (feed-normalizer-1.3.0.zip) = 48158 bytes