aboutsummaryrefslogtreecommitdiffstats
path: root/net/ruby-drb/Makefile
blob: 4fcae783d4cd47d21d61afcef06746af543e6d90 (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
# New ports collection makefile for:    Ruby-DRb
# Date created:     9 Sep 2000
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   drb
PORTVERSION=    1.2.2
PORTREVISION=   1
CATEGORIES= net ruby
MASTER_SITES=   ${MASTER_SITE_RUBY} \
        http://www2a.biglobe.ne.jp/~seki/ruby/
MASTER_SITE_SUBDIR= contrib
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org

# not mandatory, but recommended to use acl with DRb
RUN_DEPENDS=    ${RUBY_SITELIBDIR}/acl.rb:${PORTSDIR}/security/ruby-acl

USE_RUBY=   yes

NO_BUILD=   yes

post-extract:
    ${RM} ${WRKSRC}/lib/acl.rb

do-install:
    @cd ${WRKSRC}; \
    ${RUBY} install.rb
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_EXAMPLESDIR}/drb
    ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/drb
.endif

.include <bsd.port.mk>