blob: 3af25b0c35d3afda2cd6e7a6b4c7a4d1d61e2221 (
plain) (
blame)
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
|
# New ports collection makefile for: newsfeed
# Date created: 23 April 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= newsfeed
PORTVERSION= 2.8
CATEGORIES= www
MASTER_SITES= http://home.arcor.de/mdoege/newsfeed/ CENKES
DISTNAME= NewsFeed-${DISTVERSION}
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= RSS/RDF/Atom reader and aggregator
RUN_DEPENDS= py*-tkinter>=0:${PORTSDIR}/x11-toolkits/py-tkinter \
py*-feedparser>=0:${PORTSDIR}/textproc/py-feedparser \
py*-feedfinder>=0:${PORTSDIR}/www/py-feedfinder \
py*-timeoutsocket>=0:${PORTSDIR}/net/py-timeoutsocket
USE_PYTHON= yes
USE_TK= yes
USE_PYDISTUTILS=yes
post-patch:
@${REINPLACE_CMD} -e '/py_modules=/s|,.*|],|;/sounds/s|d.*|)|' ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e 's|rssfinder|feedfinder|;s|rssparser|feedparser|'\
${WRKSRC}/newsfeed.py
.include <bsd.port.mk>
|