aboutsummaryrefslogtreecommitdiffstats
path: root/irc/rbot/Makefile
blob: 0c1ea27259f49843374260f4f60d9cf14d0cff87 (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
# New ports collection makefile for:    rbot
# Date created:     14 Apr 2002
# Whom:         David Bushong <david+ports@bushong.net>
#
# $FreeBSD$
#

PORTNAME=   rbot
PORTVERSION=    0.9.13
CATEGORIES= irc ruby
MASTER_SITES=   http://ruby-rbot.org/download/
EXTRACT_SUFX=   .tgz

MAINTAINER= yzlin@cs.nctu.edu.tw
COMMENT=    Ruby IRC bot similar to infobot

RUN_DEPENDS=    ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb

USE_RUBY=   yes
USE_RUBY_SETUP= yes
CONFIGURE_ARGS= --prefix=${PREFIX}

PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES=  pkg-message

PORTDOCS=   README REQUIREMENTS ChangeLog

.include <bsd.port.pre.mk>

post-install:
.if !defined(NOPORTDOCS)
    ${INSTALL} -d ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>