blob: f18b971aedc3d2a3a741790b3c0f7c7d2dbaac60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= rss2email
DISTVERSIONPREFIX= v
DISTVERSION= 3.12.3
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>=5.0.1:textproc/py-feedparser@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}html2text>=3.0.1:textproc/py-html2text@${PY_FLAVOR}
USES= python:3.4+
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>
|