1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/www/newsfeed/Makefile
2009-07-11 16:20:56 +00:00

33 lines
889 B
Makefile

# New ports collection makefile for: newsfeed
# Date created: 23 April 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= newsfeed
PORTVERSION= 2.12
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>