aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ruby-rice/Makefile
blob: 6716402173b90061c062120e5376b233001989e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=   rice
PORTVERSION=    0.0.0.2
CATEGORIES= irc ruby
MASTER_SITES=   http://arika.org/archive/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= ruby@FreeBSD.org
COMMENT=    Yet another IRC interface library for Ruby

USE_RUBY=   yes
NO_BUILD=   yes

OPTIONS_DEFINE= DOCS

do-install:
    ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
    ${CP} -R ${WRKSRC}/rice ${STAGEDIR}${RUBY_SITELIBDIR}/
    ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/*.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
    ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
    ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${RUBY_MODDOCDIR}/
    ${INSTALL_DATA} ${WRKSRC}/*.jp ${STAGEDIR}${RUBY_MODDOCDIR}/ja/

.include <bsd.port.mk>