1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/irc/rbot/Makefile
Steve Wills 99cf3d35e8 - Fix build with Ruby 1.9
PR:		ports/158617
Approved by:	yzlin (maintainer timeout)
2011-07-30 18:33:55 +00:00

43 lines
914 B
Makefile

# New ports collection makefile for: rbot
# Date created: 14 Apr 2002
# Whom: David Bushong <david+ports@bushong.net>
#
# $FreeBSD$
#
PORTNAME= rbot
PORTVERSION= 0.9.15
PORTREVISION= 1
CATEGORIES= irc ruby
MASTER_SITES= http://ruby-rbot.org/download/
EXTRACT_SUFX= .tgz
MAINTAINER= yzlin@FreeBSD.org
COMMENT= Ruby IRC bot similar to infobot
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb \
rubygem-gettext>=1.93.0:${PORTSDIR}/devel/rubygem-gettext
USE_RUBY= yes
USE_RUBY_SETUP= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
PORTDOCS= REQUIREMENTS ChangeLog
.include <bsd.port.pre.mk>
pre-install:
${RM} ${WRKSRC}/bin/svnwatch-postcommit-hook
post-install:
.if !defined(NOPORTDOCS)
${INSTALL} -d ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>