summaryrefslogtreecommitdiff
path: root/net/ruby-drb/Makefile
blob: 4f8fbda546450417585016d56c5b14cbfc12c62a (plain)
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
# $NetBSD: Makefile,v 1.12 2005/04/11 21:46:59 tv Exp $

DISTNAME=	drb-2.0.4
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	net ruby
MASTER_SITES=	http://www2a.biglobe.ne.jp/~seki/ruby/

MAINTAINER=	taca@NetBSD.org
HOMEPAGE=	http://www2a.biglobe.ne.jp/~seki/ruby/
COMMENT=	Distributed Ruby

RUBY_VERSION=		${RUBY16_VERSION}
USE_RUBY_INSTALL=	yes
REPLACE_RUBY_DIRS=	${WRKSRC}/sample
DOCS=			acl-ref.rd acl-ref.rd.ja acl.rd acl.rd.ja \
			changelog.rd drb-ref.rd drb-ref.rd.ja mutexm.rd.ja \
			security.rd security.rd.ja tuplespace-ref.rd.ja

do-build:
.for f in ${DOCS}
	@cd ${WRKSRC}/doc; ${RUBY_RD} ${f} > ${f:S/.rd/.html/}
.endfor

post-install:
	${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/drb
	${INSTALL_DATA} ${WRKSRC}/doc/* ${RUBY_DOCDIR}/drb
	${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/drb
	${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/drb

.include "../../lang/ruby/modules.mk"
.include "../../textproc/ruby-rdtool/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"