aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-amstd/Makefile
blob: 6933db8f0577e03f69fd857bbaac083e932765df (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# New ports collection makefile for:    Ruby-amstd
# Date created:     7 Aug 2000
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   amstd
PORTVERSION=    1.9.3
CATEGORIES= devel   # ruby
MASTER_SITES=   http://www1.u-netsurf.ne.jp/~brew/mine/soft/
PKGNAMEPREFIX=  ruby-
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org

RUN_DEPENDS=    ruby:${PORTSDIR}/lang/ruby

NO_BUILD=   yes

PLIST_SUB=  RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"

RUBY?=      ${LOCALBASE}/bin/ruby
RUBY_VER?=  1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}

DOCS_EN=    README.en
DOCS_JA=    README.ja
MODULES=    bench.rb \
        bug.rb \
        collfrom.rb \
        dispatch.rb \
        errutil.rb \
        extmod.rb \
        fileutils.rb \
        futils.rb \
        gconst.rb \
        getdep.rb \
        info.rb \
        must.rb \
        pipeline.rb \
        rbparams.rb \
        recycle.rb \
        rubyemu.rb \
        strquote.rb \
        symbol.rb \
        timer.rb \
        to_s.rb \
        version.rb

do-install:
    ${MKDIR} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/amstd
.for f in ${MODULES}
    ${INSTALL_DATA} ${WRKSRC}/lib/amstd/${f} \
            ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/amstd/
.endfor
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/ruby/amstd/ja
.for f in ${DOCS_EN}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/amstd/
.endfor
.for f in ${DOCS_JA}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/amstd/ja/
.endfor
.endif

.include <bsd.port.mk>