2013-08-17 18:32:41 +02:00
|
|
|
# Created by: David Bushong <david+ports@bushong.net>
|
2002-06-10 20:38:52 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= rbot
|
2017-12-14 21:58:10 +01:00
|
|
|
PORTVERSION= 20160325
|
2015-04-04 06:02:04 +02:00
|
|
|
PORTREVISION= 0
|
|
|
|
PORTEPOCH= 1
|
2002-06-10 20:38:52 +02:00
|
|
|
CATEGORIES= irc ruby
|
|
|
|
|
2013-08-17 18:33:26 +02:00
|
|
|
MAINTAINER= bdrewery@FreeBSD.org
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= Ruby IRC bot similar to infobot
|
2002-06-10 20:38:52 +02:00
|
|
|
|
2016-12-03 20:36:41 +01:00
|
|
|
LICENSE= GPLv2 MIT
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2
|
|
|
|
LICENSE_FILE_MIT= ${WRKSRC}/COPYING.rbot
|
|
|
|
|
2016-04-01 16:08:37 +02:00
|
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/tokyocabinet.so:databases/ruby-tokyocabinet \
|
2017-12-14 21:58:10 +01:00
|
|
|
rubygem-gettext>=0:devel/rubygem-gettext \
|
|
|
|
rubygem-htmlentities>=0:textproc/rubygem-htmlentities \
|
|
|
|
rubygem-hpricot>=0:www/rubygem-hpricot \
|
2016-04-01 16:08:37 +02:00
|
|
|
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
|
2002-08-01 01:52:42 +02:00
|
|
|
|
2002-06-10 20:38:52 +02:00
|
|
|
USE_RUBY= yes
|
2005-11-22 09:13:30 +01:00
|
|
|
USE_RUBY_SETUP= yes
|
2008-08-25 04:46:55 +02:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
2002-06-10 20:38:52 +02:00
|
|
|
|
2015-04-04 06:02:04 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= ruby-${PORTNAME}
|
2017-12-14 21:58:10 +01:00
|
|
|
GH_TAGNAME= e358601cc521d8aced941eb928fae2d8c53cf0c2
|
2015-04-04 06:02:04 +02:00
|
|
|
|
2008-08-25 04:46:55 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2011-01-10 17:01:33 +01:00
|
|
|
PORTDOCS= REQUIREMENTS ChangeLog
|
2008-08-25 04:46:55 +02:00
|
|
|
|
2014-02-21 14:37:29 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2016-12-03 20:36:41 +01:00
|
|
|
post-install-DOCS-on:
|
2015-04-04 06:02:04 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-02-09 02:55:21 +01:00
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2002-06-10 20:38:52 +02:00
|
|
|
|
2013-08-17 18:45:55 +02:00
|
|
|
.include <bsd.port.mk>
|