1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net-im/newsbot/Makefile
Renato Botelho 5d0e56a269 I've committed MASTER_SITES changes proposed by Marin Wilke some days ago,
but, the correct way is preserve original MASTER_SITE and add
freebsd.unixfreunde.de just as a backup, I'm doing it right now, restoring
original preserving the Martin's proposed backup.
2006-05-30 17:20:11 +00:00

38 lines
952 B
Makefile

# 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-im
MASTER_SITES= http://www.jabberstudio.org/files/${PORTNAME}/ \
http://freebsd.unixfreunde.de/sources/
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-im/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>