blob: 90a1cb9327abf835f3273a237a8808289ec40db0 (
plain) (
blame)
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
37
38
|
# New ports collection makefile for: rbot
# Date created: 14 Apr 2002
# Whom: David Bushong <david+ports@bushong.net>
#
# $FreeBSD$
#
PORTNAME= rbot
PORTVERSION= 0.9.6
CATEGORIES= irc ruby
MASTER_SITES= http://linuxbrit.co.uk/downloads/
MAINTAINER= david+ports@bushong.net
COMMENT= Ruby IRC bot similar to infobot
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb \
${RUBY_SITELIBDIR}/rexml/document.rb:${PORTSDIR}/textproc/ruby-rexml
USE_RUBY= yes
NO_BUILD= yes
post-patch:
@${RUBY} -pi -e 'sub /rbotconf/, "${PREFIX}/etc/rbot"' ${WRKSRC}/rbot.rb
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rbot.rb ${PREFIX}/bin/rbot
${TAR} -C ${WRKSRC} -cf - rbot | ${TAR} -C ${RUBY_SITELIBDIR} -xkpf -
${MKDIR} ${PREFIX}/etc/rbot
( cd ${WRKSRC}/rbotconf && ${TAR} -cf - * ) | \
${TAR} -C ${PREFIX}/etc/rbot -xkpf -
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
( cd ${WRKSRC}/doc && ${TAR} -cf - * ) | \
${TAR} -C ${RUBY_MODDOCDIR} -xpf -
.endif
.include <bsd.port.mk>
|