1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/mail/rss2email3/Makefile
Pietro Cerutti 8d21bfb1e8 - New port: mail/rss2email3
rss2email is a python script that lets you subscribe to a list of
RSS or Atom feeds and get new posts sent to you by email. It is
generally run via cron, but can be run manually as well.

This is a python 3 rewrite of the original rss2email project by
Lindsey Smith at AllThingsRSS. It does not run on python 2.

WWW: https://github.com/wking/rss2email

PR:		186752
Submitted by:	Stephen R Guglielmo <srg@guglielmo.us>
2014-02-14 15:52:42 +00:00

40 lines
902 B
Makefile

# $FreeBSD$
PORTNAME= rss2email
PORTVERSION= 3.8
CATEGORIES= mail python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= srg@guglielmo.us
COMMENT= Emails posts from subscribed RSS/Atom newsfeeds
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=5.0.1:${PORTSDIR}/textproc/py-feedparser \
${PYTHON_PKGNAMEPREFIX}html2text>=3.0.1:${PORTSDIR}/textproc/py-html2text
USE_GITHUB= yes
GH_ACCOUNT= wking
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= v${DISTVERSION}
GH_COMMIT= 2b7d0b6
USE_PYTHON= 3.2+
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST=yes
CONFLICTS_INSTALL=rss2email2
PORTDOCS= AUTHORS CHANGELOG README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
${INSTALL_MAN} ${WRKSRC}/r2e.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>