From 458abfc8bd772294b1a938239e01c642afc35d3c Mon Sep 17 00:00:00 2001 From: sat Date: Sat, 8 Sep 2007 03:15:52 +0000 Subject: 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 Based on: NetBSD pkgsrc port --- mail/Makefile | 1 + mail/rss2email/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ mail/rss2email/distinfo | 3 +++ mail/rss2email/pkg-descr | 5 +++++ 4 files changed, 51 insertions(+) create mode 100644 mail/rss2email/Makefile create mode 100644 mail/rss2email/distinfo create mode 100644 mail/rss2email/pkg-descr (limited to 'mail') 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 +# +# $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 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 -- cgit