aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-09-08 11:15:52 +0800
committersat <sat@FreeBSD.org>2007-09-08 11:15:52 +0800
commit458abfc8bd772294b1a938239e01c642afc35d3c (patch)
tree6f0881091a264616ff5c12f830353222451dbe3a /mail
parent752166a2552317199cbb7b088817bf0d22300d4e (diff)
downloadfreebsd-ports-gnome-458abfc8bd772294b1a938239e01c642afc35d3c.tar.gz
freebsd-ports-gnome-458abfc8bd772294b1a938239e01c642afc35d3c.tar.zst
freebsd-ports-gnome-458abfc8bd772294b1a938239e01c642afc35d3c.zip
Add port mail/rss2email:
rss2email is a simple Python script that lets you subscribe to a list of XML newsfeeds and get new items sent to you by email. WWW: http://rss2email.infogami.com/ Author: Aaron Swartz <me@aaronsw.com> Based on: NetBSD pkgsrc port
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/rss2email/Makefile42
-rw-r--r--mail/rss2email/distinfo3
-rw-r--r--mail/rss2email/pkg-descr5
4 files changed, 51 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 62ecafd1cedb..145a3e9caedc 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -528,6 +528,7 @@
SUBDIR += ripmime
SUBDIR += rlytest
SUBDIR += roundcube
+ SUBDIR += rss2email
SUBDIR += ruby-rfilter
SUBDIR += ruby-rmail
SUBDIR += ruby-tmail
diff --git a/mail/rss2email/Makefile b/mail/rss2email/Makefile
new file mode 100644
index 000000000000..a7323d726506
--- /dev/null
+++ b/mail/rss2email/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: rss2email
+# Date created: 17 March 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rss2email
+PORTVERSION= 2.60
+CATEGORIES= mail python
+MASTER_SITES= CENKES
+# http://rss2email.infogami.com/rss2email.py
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Read newsfeeds in your email client
+
+RUN_DEPENDS= py*-feedparser>=0:${PORTSDIR}/textproc/py-feedparser \
+ py*-html2text>=0:${PORTSDIR}/textproc/py-html2text
+
+USE_BZIP2= yes
+USE_PYTHON= yes
+NO_BUILD= yes
+MAN1= r2e.1
+PLIST_FILES= bin/r2e %%DATADIR%%/${PORTNAME}.py
+PLIST_DIRS= %%DATADIR%%
+PORTEXAMPLES= config.py
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|@PYTHONCMD@|${PYTHON_CMD}|;s|@DATADIR@|${DATADIR}|'\
+ ${WRKSRC}/r2e
+
+do-install:
+ @${INSTALL} -d ${DATADIR}/
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${DATADIR}/
+ @${INSTALL_SCRIPT} ${WRKSRC}/r2e ${PREFIX}/bin/
+ @${INSTALL_MAN} ${WRKSRC}/r2e.1 ${MAN1PREFIX}/man/man1/
+.ifndef NOPORTEXAMPLES
+ @${INSTALL} -d ${EXAMPLESDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/config.py ${EXAMPLESDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/mail/rss2email/distinfo b/mail/rss2email/distinfo
new file mode 100644
index 000000000000..be22b293870f
--- /dev/null
+++ b/mail/rss2email/distinfo
@@ -0,0 +1,3 @@
+MD5 (rss2email-2.60.tar.bz2) = 0d45eea0e1e3744f3b67949df00603bb
+SHA256 (rss2email-2.60.tar.bz2) = 1dfd9272870eb79149c7c44e018bd1250d41a179e0ae3139c4a1536a4594a3c7
+SIZE (rss2email-2.60.tar.bz2) = 10723
diff --git a/mail/rss2email/pkg-descr b/mail/rss2email/pkg-descr
new file mode 100644
index 000000000000..c9f02c42269f
--- /dev/null
+++ b/mail/rss2email/pkg-descr
@@ -0,0 +1,5 @@
+rss2email is a simple Python script that lets you subscribe to a
+list of XML newsfeeds and get new items sent to you by email.
+
+WWW: http://rss2email.infogami.com/
+Author: Aaron Swartz <me@aaronsw.com>