freebsd-ports/irc/rbot/Makefile
Alexey Dokuchaev 9e612373a5 For ports under emulators', games', irc, and `sysutils' categories:
remove redundant PKGMESSAGE assignment, which is set appropriately by
the b.p.m when `pkg-message' appears on the SUB_FILES list.
2018-05-05 15:17:46 +00:00

47 lines
1.2 KiB
Makefile

# Created by: David Bushong <david+ports@bushong.net>
# $FreeBSD$
PORTNAME= rbot
PORTVERSION= 20160325
PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= irc ruby
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Ruby IRC bot similar to infobot
LICENSE= GPLv2 MIT
LICENSE_COMB= dual
LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2
LICENSE_FILE_MIT= ${WRKSRC}/COPYING.rbot
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/tokyocabinet.so:databases/ruby-tokyocabinet \
rubygem-gettext>=0:devel/rubygem-gettext \
rubygem-htmlentities>=0:textproc/rubygem-htmlentities \
rubygem-hpricot>=0:www/rubygem-hpricot \
rubygem-mechanize>=0:www/rubygem-mechanize \
rubygem-tzinfo>=0:devel/rubygem-tzinfo \
rubygem-oauth>=0:net/rubygem-oauth \
rubygem-oauth2>=0:net/rubygem-oauth2
LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet
USE_RUBY= yes
USE_RUBY_SETUP= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
USE_GITHUB= yes
GH_ACCOUNT= ruby-${PORTNAME}
GH_TAGNAME= e358601cc521d8aced941eb928fae2d8c53cf0c2
SUB_FILES= pkg-message
PORTDOCS= REQUIREMENTS ChangeLog
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>