aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-io-reactor/Makefile
blob: d22207c8b7399afb4b59e35272670964eb0e8d7b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    Ruby/io-reactor
# Date created:     26 December 2004
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   io-reactor
PORTVERSION=    1.0.4
CATEGORIES= devel ruby
MASTER_SITES=   http://deveiate.org/code/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   io-reactor-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= ruby@FreeBSD.org
COMMENT=    Ruby module that implements an asynchronous multiplexed IO Reactor

USE_RUBY=   yes
USE_RAKE=   yes

NO_BUILD=   yes

DOCS=       ChangeLog README
EXAMPLES=   examples/*

do-install:
    cd ${WRKSRC}; ${RUBY} ${RAKE_BIN} install
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
.endif

.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 1.9
BROKEN= does not build with ruby 1.9
.endif
.include <bsd.port.post.mk>