2001-01-19 09:00:21 +00:00
|
|
|
# New ports collection makefile for: Ruby/IRC
|
|
|
|
# Date created: 19 Jan 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= irc
|
2001-03-09 12:02:41 +00:00
|
|
|
PORTVERSION= 0.14
|
2001-01-19 09:00:21 +00:00
|
|
|
CATEGORIES= irc ruby
|
2006-01-24 18:32:05 +00:00
|
|
|
MASTER_SITES= http://ibiblio.lsu.edu/main/pub/languages/ruby/contrib/ \
|
|
|
|
ftp://ftp.tms.ru/pub/ruby/libraries/irc/
|
2001-01-19 09:00:21 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2005-11-11 01:18:01 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 05:20:09 +00:00
|
|
|
COMMENT= IRC client framework for Ruby
|
2001-01-19 09:00:21 +00:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
DOCS_EN= BUGS ChangeLog MANIFEST \
|
|
|
|
NEWS README TODO
|
2001-03-09 12:02:41 +00:00
|
|
|
DOCS_JA= MEMO.ja README.ja doc.ja/*
|
2001-01-19 09:00:21 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/localize.rb ${RUBY_SITELIBDIR}
|
|
|
|
${MKDIR} ${RUBY_SITELIBDIR}/irc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/irc/*.rb ${RUBY_SITELIBDIR}/irc/
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 21:38:34 +00:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
2001-01-19 09:00:21 +00:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 21:38:34 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2001-01-19 09:00:21 +00:00
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS_JA}
|
2002-10-06 21:38:34 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
2001-01-19 09:00:21 +00:00
|
|
|
.endfor
|
2002-10-06 21:38:34 +00:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/cpi
|
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/cpi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cpi/*.cpi ${RUBY_MODEXAMPLESDIR}/cpi/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cpi.ja/*.cpi ${RUBY_MODEXAMPLESDIR}/ja/cpi/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bot.rb ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bot.ja.rb ${RUBY_MODEXAMPLESDIR}/ja/bot.rb
|
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/log
|
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/log
|
2001-01-19 09:00:21 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|