mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
add newsbot 0.4.5
Gathers news from RDF/RSS and send them to your IM client
This commit is contained in:
parent
e70709034a
commit
53920f1f81
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103729
35
net-im/newsbot/Makefile
Normal file
35
net-im/newsbot/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: newsbot
|
||||
# Date created: Mar 12, 2004
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= newsbot
|
||||
PORTVERSION= 0.4.5
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.jabberstudio.org/files/${PORTNAME}/
|
||||
DISTNAME= ${PORTNAME}-0.45
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Gathers news from RDF/RSS and send them to your IM client
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/jabber.py:${PORTSDIR}/net/py-jabber
|
||||
|
||||
USE_PYTHON= 2.2+
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= bin/newsbot
|
||||
|
||||
do-install:
|
||||
@${SED} "s,%%DATADIR%%,${DATADIR}," \
|
||||
< ${FILESDIR}/newsbot > ${PREFIX}/bin/newsbot
|
||||
@${CHMOD} +x ${PREFIX}/bin/newsbot
|
||||
@${MKDIR} ${DATADIR}
|
||||
@(cd ${WRKSRC} && ${INSTALL_DATA} *.py *.cfg README bothelp ${DATADIR})
|
||||
@${FIND} ${DATADIR} -type f | \
|
||||
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm ${DATADIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
2
net-im/newsbot/distinfo
Normal file
2
net-im/newsbot/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (newsbot-0.45.tar.gz) = 83935032e3934f77acf4389304ac84b1
|
||||
SIZE (newsbot-0.45.tar.gz) = 32039
|
3
net-im/newsbot/files/newsbot
Normal file
3
net-im/newsbot/files/newsbot
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd %%DATADIR%%/newsbot && python bot.py
|
17
net-im/newsbot/pkg-descr
Normal file
17
net-im/newsbot/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
newsBot gathers news from various news feeds(RDF/RSS-pages) and send the news
|
||||
to your IM client. The bot is a console based application and uses the Jabber
|
||||
network for messaging.
|
||||
|
||||
Each RDF/RSS-page is checked every 30 min in a running order. When a new news
|
||||
item is found, the news will be sent to the users with the website in its site
|
||||
list. The news item will include(if available) title, date, link and a short
|
||||
description.
|
||||
|
||||
Features:
|
||||
* Individual user settings.
|
||||
* 15 bot commands.
|
||||
* Over 30 news feeds to choose from.
|
||||
* Ability to add and remove news feeds.
|
||||
* and more...
|
||||
|
||||
WWW: http://newsbot.jabberstudio.org/
|
@ -346,6 +346,7 @@
|
||||
SUBDIR += netspeed_applet
|
||||
SUBDIR += netstrain
|
||||
SUBDIR += nettest
|
||||
SUBDIR += newsbot
|
||||
SUBDIR += ng_netflow
|
||||
SUBDIR += ngrep
|
||||
SUBDIR += ngrep-lib
|
||||
|
35
net/newsbot/Makefile
Normal file
35
net/newsbot/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: newsbot
|
||||
# Date created: Mar 12, 2004
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= newsbot
|
||||
PORTVERSION= 0.4.5
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.jabberstudio.org/files/${PORTNAME}/
|
||||
DISTNAME= ${PORTNAME}-0.45
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Gathers news from RDF/RSS and send them to your IM client
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/jabber.py:${PORTSDIR}/net/py-jabber
|
||||
|
||||
USE_PYTHON= 2.2+
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= bin/newsbot
|
||||
|
||||
do-install:
|
||||
@${SED} "s,%%DATADIR%%,${DATADIR}," \
|
||||
< ${FILESDIR}/newsbot > ${PREFIX}/bin/newsbot
|
||||
@${CHMOD} +x ${PREFIX}/bin/newsbot
|
||||
@${MKDIR} ${DATADIR}
|
||||
@(cd ${WRKSRC} && ${INSTALL_DATA} *.py *.cfg README bothelp ${DATADIR})
|
||||
@${FIND} ${DATADIR} -type f | \
|
||||
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm ${DATADIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/newsbot/distinfo
Normal file
2
net/newsbot/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (newsbot-0.45.tar.gz) = 83935032e3934f77acf4389304ac84b1
|
||||
SIZE (newsbot-0.45.tar.gz) = 32039
|
3
net/newsbot/files/newsbot
Normal file
3
net/newsbot/files/newsbot
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd %%DATADIR%%/newsbot && python bot.py
|
17
net/newsbot/pkg-descr
Normal file
17
net/newsbot/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
newsBot gathers news from various news feeds(RDF/RSS-pages) and send the news
|
||||
to your IM client. The bot is a console based application and uses the Jabber
|
||||
network for messaging.
|
||||
|
||||
Each RDF/RSS-page is checked every 30 min in a running order. When a new news
|
||||
item is found, the news will be sent to the users with the website in its site
|
||||
list. The news item will include(if available) title, date, link and a short
|
||||
description.
|
||||
|
||||
Features:
|
||||
* Individual user settings.
|
||||
* 15 bot commands.
|
||||
* Over 30 news feeds to choose from.
|
||||
* Ability to add and remove news feeds.
|
||||
* and more...
|
||||
|
||||
WWW: http://newsbot.jabberstudio.org/
|
Loading…
Reference in New Issue
Block a user