blob: d46b9422176a05e770aaf94a934c60c80f97494d (
plain)
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
34
35
36
|
# ex:ts=8
# Ports collection makefile for: newsbot
# Date created: Mar 12, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= newsbot
PORTVERSION= 0.4.5
PORTREVISION= 1
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/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>
|