18c6e18276
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk Notable changes are. - Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk. - USE_RUBY=yes is replaced with USES=ruby. - USE_RUBY_EXTCONF is replaced with USES=ruby:extconf. - USE_RUBY_RDOC is replaced with USES=ruby:rdoc. - USE_RUBY_SETUP is replaces with USES=ruby:setup. - RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with USES=ruby:{build,none,run}. - RUBY_REQUIRE isn't used anywhere, so removed. - USES=gem now implies USES=ruby. This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863 I have just made some cosmetic changes and ran exp-run to test that the tree is not in a BROKEN state. Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D37925
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
PORTNAME= rbot
|
|
PORTVERSION= 20160325
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= irc ruby
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Ruby IRC bot similar to infobot
|
|
WWW= https://ruby-rbot.org/
|
|
|
|
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-oauth21>=0:net/rubygem-oauth21
|
|
LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet
|
|
|
|
USES= cpe ruby:setup
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
NO_ARCH= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ruby-${PORTNAME}
|
|
GH_TAGNAME= e358601cc521d8aced941eb928fae2d8c53cf0c2
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= REQUIREMENTS ChangeLog
|
|
|
|
CPE_VENDOR= ruby-rbot
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|