f3af3367aa
Poudriere in particulr did not properly handle DEPENDS_ARGS which made these ports not properly install dependencies. That bug is being addressed along with adding FLAVORS support to it. With hat: portmgr MFH: 2017Q2
43 lines
1 KiB
Makefile
43 lines
1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rss2email
|
|
PORTVERSION= 3.8
|
|
DISTVERSIONPREFIX= v
|
|
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:textproc/py-feedparser \
|
|
${PYTHON_PKGNAMEPREFIX}html2text>=3.0.1:textproc/py-html2text
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= wking
|
|
|
|
USES= python:3.3+
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
CONFLICTS_INSTALL= py*-rss2email-2.*
|
|
|
|
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.pre.mk>
|
|
|
|
.if defined(PACKAGE_BUILDING) && !defined(PACKAGE_BUILDING_FLAVORS) && \
|
|
${PYTHON_VER} != ${PYTHON_DEFAULT}
|
|
IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|