mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
868c3fb8f1
It now actually works with Ruby 2.0+. This requires manual migration to fix the registry files. See the UPDATING entry.
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# Created by: David Bushong <david+ports@bushong.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rbot
|
|
PORTVERSION= 20150311
|
|
PORTREVISION= 0
|
|
PORTEPOCH= 1
|
|
CATEGORIES= irc ruby
|
|
|
|
MAINTAINER= bdrewery@FreeBSD.org
|
|
COMMENT= Ruby IRC bot similar to infobot
|
|
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/tokyocabinet.so:${PORTSDIR}/databases/ruby-tokyocabinet \
|
|
rubygem-mechanize>=0:${PORTSDIR}/www/rubygem-mechanize \
|
|
rubygem-tzinfo>=0:${PORTSDIR}/devel/rubygem-tzinfo \
|
|
rubygem-oauth>=0:${PORTSDIR}/net/rubygem-oauth \
|
|
rubygem-oauth2>=0:${PORTSDIR}/net/rubygem-oauth2
|
|
LIB_DEPENDS= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_SETUP= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ruby-${PORTNAME}
|
|
GH_TAGNAME= 545f21791ad804a52f6b7470403a1fa5a3976f5f
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= REQUIREMENTS ChangeLog
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|