Tweak irc/rbot version 0.9.15_2
[dports.git] / irc / rbot / Makefile
1 # Created by: David Bushong <david+ports@bushong.net>
2 # $FreeBSD: irc/rbot/Makefile 327710 2013-09-20 15:58:09Z bdrewery $
3
4 PORTNAME=       rbot
5 PORTVERSION=    0.9.15
6 PORTREVISION=   2
7 CATEGORIES=     irc ruby
8 MASTER_SITES=   http://ruby-rbot.org/download/
9 EXTRACT_SUFX=   .tgz
10
11 MAINTAINER=     bdrewery@FreeBSD.org
12 COMMENT=        Ruby IRC bot similar to infobot
13
14 RUN_DEPENDS=    ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb \
15                 rubygem-gettext>=1.93.0:${PORTSDIR}/devel/rubygem-gettext
16
17 NO_STAGE=       yes
18 USE_RUBY=       yes
19 USE_RUBY_SETUP= yes
20 CONFIGURE_ARGS= --prefix=${PREFIX}
21
22 PKGMESSAGE=     ${WRKDIR}/pkg-message
23 SUB_FILES=      pkg-message
24
25 PORTDOCS=       REQUIREMENTS ChangeLog
26
27 .include <bsd.port.options.mk>
28
29 pre-install:
30         ${RM} ${WRKSRC}/bin/svnwatch-postcommit-hook
31
32 post-install:
33 .if ${PORT_OPTIONS:MDOCS}
34         ${INSTALL} -d ${DOCSDIR}
35         ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
36 .endif
37         @${CAT} ${PKGMESSAGE}
38
39 .include <bsd.port.mk>