mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
1ca64f5a13
PR: 224188 Reported by: Michael Bueker <m.bueker@berlin.de> Approved by: Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
36 lines
871 B
Makefile
36 lines
871 B
Makefile
PORTNAME= rss2email
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.13
|
|
CATEGORIES= mail python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= chalpin@cs.wisc.edu
|
|
COMMENT= Emails posts from subscribed RSS/Atom newsfeeds
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.0:textproc/py-feedparser@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}html2text>=3.0.1:textproc/py-html2text@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rss2email
|
|
USE_PYTHON= distutils concurrent autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= AUTHORS CHANGELOG README.rst
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PLIST_FILES= share/man/man1/r2e.1.gz
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/r2e.1 ${STAGEDIR}${MANPREFIX}/share/man/man1
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|