aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-04-23 17:04:34 +0800
committersat <sat@FreeBSD.org>2007-04-23 17:04:34 +0800
commite48b6cda8acea4f75a13ee61480f3bffa362f8ec (patch)
tree42bb8d026a1e0c27128cfc56d61e73f8bb5a2113 /www
parent0d2b7d3725ce2528fc1b6cdfc9f0d9ccaf92d6cf (diff)
downloadfreebsd-ports-gnome-e48b6cda8acea4f75a13ee61480f3bffa362f8ec.tar.gz
freebsd-ports-gnome-e48b6cda8acea4f75a13ee61480f3bffa362f8ec.tar.zst
freebsd-ports-gnome-e48b6cda8acea4f75a13ee61480f3bffa362f8ec.zip
Add port www/newsfeed:
NewsFeed is an RSS/RDF/Atom reader and aggregator for UNIX-like operating systems. It is written in Python and uses Mark Pilgrim's Universal Feed Parser for downloading and parsing feeds. WWW: http://home.arcor.de/mdoege/newsfeed/ Author: Martin C. Doege <mdoege@compuserve.com>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/newsfeed/Makefile31
-rw-r--r--www/newsfeed/distinfo3
-rw-r--r--www/newsfeed/pkg-descr6
-rw-r--r--www/newsfeed/pkg-plist13
5 files changed, 54 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index a9e07c731249..8af92883072f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -438,6 +438,7 @@
SUBDIR += netoffice
SUBDIR += netrik
SUBDIR += netstiff
+ SUBDIR += newsfeed
SUBDIR += nginx
SUBDIR += notftp
SUBDIR += npapi-xine
diff --git a/www/newsfeed/Makefile b/www/newsfeed/Makefile
new file mode 100644
index 000000000000..3af25b0c35d3
--- /dev/null
+++ b/www/newsfeed/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: newsfeed
+# Date created: 23 April 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= newsfeed
+PORTVERSION= 2.8
+CATEGORIES= www
+MASTER_SITES= http://home.arcor.de/mdoege/newsfeed/ CENKES
+DISTNAME= NewsFeed-${DISTVERSION}
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= RSS/RDF/Atom reader and aggregator
+
+RUN_DEPENDS= py*-tkinter>=0:${PORTSDIR}/x11-toolkits/py-tkinter \
+ py*-feedparser>=0:${PORTSDIR}/textproc/py-feedparser \
+ py*-feedfinder>=0:${PORTSDIR}/www/py-feedfinder \
+ py*-timeoutsocket>=0:${PORTSDIR}/net/py-timeoutsocket
+
+USE_PYTHON= yes
+USE_TK= yes
+USE_PYDISTUTILS=yes
+
+post-patch:
+ @${REINPLACE_CMD} -e '/py_modules=/s|,.*|],|;/sounds/s|d.*|)|' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -e 's|rssfinder|feedfinder|;s|rssparser|feedparser|'\
+ ${WRKSRC}/newsfeed.py
+
+.include <bsd.port.mk>
diff --git a/www/newsfeed/distinfo b/www/newsfeed/distinfo
new file mode 100644
index 000000000000..85721de944b3
--- /dev/null
+++ b/www/newsfeed/distinfo
@@ -0,0 +1,3 @@
+MD5 (NewsFeed-2.8.tar.gz) = bd19f8c37f997097a890ae395dc23523
+SHA256 (NewsFeed-2.8.tar.gz) = a91b7799b52f87516b4810ab7b424e3e69c1c265f841631002bf296cfa34b031
+SIZE (NewsFeed-2.8.tar.gz) = 90136
diff --git a/www/newsfeed/pkg-descr b/www/newsfeed/pkg-descr
new file mode 100644
index 000000000000..36c310394d43
--- /dev/null
+++ b/www/newsfeed/pkg-descr
@@ -0,0 +1,6 @@
+NewsFeed is an RSS/RDF/Atom reader and aggregator for UNIX-like
+operating systems. It is written in Python and uses Mark Pilgrim's
+Universal Feed Parser for downloading and parsing feeds.
+
+WWW: http://home.arcor.de/mdoege/newsfeed/
+Author: Martin C. Doege <mdoege@compuserve.com>
diff --git a/www/newsfeed/pkg-plist b/www/newsfeed/pkg-plist
new file mode 100644
index 000000000000..deab5f406742
--- /dev/null
+++ b/www/newsfeed/pkg-plist
@@ -0,0 +1,13 @@
+bin/Start_NewsFeed.py
+bin/add_feed.py
+bin/dinos.py
+bin/dumpfeed.py
+bin/export_flagged.py
+bin/export_unread.py
+bin/feed2opml.py
+bin/newsfeed
+bin/opml2feed.py
+bin/update_feeds.py
+%%PYTHON_SITELIBDIR%%/newsfeed.py
+%%PYTHON_SITELIBDIR%%/newsfeed.pyc
+%%PYTHON_SITELIBDIR%%/newsfeed.pyo