mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rica
|
|
PORTVERSION= 0.10
|
|
CATEGORIES= irc ruby
|
|
MASTER_SITES= http://www.koka-in.org/%7Ezophos/lib/rica/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Another IRC client framework for Ruby
|
|
|
|
USE_BZIP2= yes
|
|
USE_RUBY= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
MODULES= rica.rb \
|
|
ctcpresponder.rb \
|
|
connectiondiag.rb \
|
|
logholder.rb
|
|
|
|
DOCS= CHANGES README classes_and_methods.txt event.lst *.png
|
|
EXAMPLES= erica.* ricaco.rb rica-example.rb
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
|
|
.for f in ${MODULES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_SITELIBDIR}/
|
|
.endfor
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
|
|
.for f in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
|
|
.endfor
|
|
.endif
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|