mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
4942ce5a7d
- Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
34 lines
917 B
Makefile
34 lines
917 B
Makefile
# New ports collection makefile for: newsfeed
|
|
# Date created: 23 April 2007
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= newsfeed
|
|
PORTVERSION= 2.8
|
|
PORTREVISION= 1
|
|
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
|
|
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>
|