aboutsummaryrefslogtreecommitdiff
path: root/www/newsfeed/Makefile
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-04-23 09:04:34 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-04-23 09:04:34 +0000
commit948588cf139fa07924f373a0e02751320d537b6a (patch)
tree46a592a19bd876f7c6efccf015185e42b5c38917 /www/newsfeed/Makefile
parent11457afab11a8190a582a21d29ee303607ef65a3 (diff)
downloadports-948588cf139fa07924f373a0e02751320d537b6a.tar.gz
ports-948588cf139fa07924f373a0e02751320d537b6a.zip
Notes
Diffstat (limited to 'www/newsfeed/Makefile')
-rw-r--r--www/newsfeed/Makefile31
1 files changed, 31 insertions, 0 deletions
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>