diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-09-08 03:15:52 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-09-08 03:15:52 +0000 |
commit | 99713a8019037519529a7430c0505429746eb7c8 (patch) | |
tree | fcf6ac76a438efd2dab96d50e43d841cba414a2d /mail/rss2email | |
parent | 792caef5e8f363cfc8ed9ab73912bf03aab4b1b1 (diff) | |
download | ports-99713a8019037519529a7430c0505429746eb7c8.tar.gz ports-99713a8019037519529a7430c0505429746eb7c8.zip |
Notes
Diffstat (limited to 'mail/rss2email')
-rw-r--r-- | mail/rss2email/Makefile | 42 | ||||
-rw-r--r-- | mail/rss2email/distinfo | 3 | ||||
-rw-r--r-- | mail/rss2email/pkg-descr | 5 |
3 files changed, 50 insertions, 0 deletions
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> |