1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/irc/rbot/Makefile
Sunpoet Po-Chuan Hsieh d6011f7ebc - Add LICENSE
- Fix GH_TAGNAME
- Convert to options target helper

Approved by:	portmgr (blanket)
2016-12-03 19:36:41 +00:00

48 lines
1.1 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
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-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= 545f217
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
PORTDOCS= REQUIREMENTS ChangeLog
OPTIONS_DEFINE= DOCS
BROKEN_RUBY22= yes
BROKEN_RUBY23= yes
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>