aboutsummaryrefslogtreecommitdiffstats
path: root/www/newsfeed/Makefile
blob: 5916c0e7429c63bed21270270375a1db3da8b9bf (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
32
33
# New ports collection makefile for:    newsfeed
# Date created:     23 April 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   newsfeed
PORTVERSION=    2.10
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   http://home.arcor.de/mdoege/newsfeed/
DISTNAME=   NewsFeed-${DISTVERSION}

MAINTAINER= miwi@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
PYDISTUTILS_PKGNAME=    NewsFeed

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>