2013-09-20 20:44:49 +02:00
|
|
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
2001-03-10 07:05:31 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= rica
|
2005-01-16 19:14:34 +01:00
|
|
|
PORTVERSION= 0.10
|
2001-03-10 07:05:31 +01:00
|
|
|
CATEGORIES= irc ruby
|
2001-03-28 14:03:50 +02:00
|
|
|
MASTER_SITES= http://www.koka-in.org/%7Ezophos/lib/rica/
|
2001-03-10 07:05:31 +01:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2009-06-16 17:53:25 +02:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2003-02-18 06:20:09 +01:00
|
|
|
COMMENT= Another IRC client framework for Ruby
|
2001-03-10 07:05:31 +01:00
|
|
|
|
2014-03-30 16:24:49 +02:00
|
|
|
USES= tar:bzip2
|
2001-03-10 07:05:31 +01:00
|
|
|
USE_RUBY= yes
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2001-08-30 08:52:36 +02:00
|
|
|
MODULES= rica.rb \
|
|
|
|
ctcpresponder.rb \
|
2005-01-16 19:14:34 +01:00
|
|
|
connectiondiag.rb \
|
2001-08-30 08:52:36 +02:00
|
|
|
logholder.rb
|
|
|
|
|
2001-09-28 20:11:05 +02:00
|
|
|
DOCS= CHANGES README classes_and_methods.txt event.lst *.png
|
2005-01-16 19:14:34 +01:00
|
|
|
EXAMPLES= erica.* ricaco.rb rica-example.rb
|
2001-03-10 07:05:31 +01:00
|
|
|
|
2014-02-21 14:37:29 +01:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-11-27 06:58:14 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2001-03-10 07:05:31 +01:00
|
|
|
do-install:
|
2013-11-27 06:58:14 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
|
2001-03-28 14:03:50 +02:00
|
|
|
.for f in ${MODULES}
|
2013-11-27 06:58:14 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_SITELIBDIR}/
|
2001-03-28 14:03:50 +02:00
|
|
|
.endfor
|
2013-11-27 06:58:14 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
|
2001-03-10 07:05:31 +01:00
|
|
|
.for f in ${EXAMPLES}
|
2013-11-27 06:58:14 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
|
2001-03-10 07:05:31 +01:00
|
|
|
.endfor
|
2008-05-30 19:09:01 +02:00
|
|
|
.endif
|
2013-11-27 06:58:14 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
|
2001-03-10 07:05:31 +01:00
|
|
|
.for f in ${DOCS}
|
2013-11-27 06:58:14 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
2001-03-10 07:05:31 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|