summaryrefslogtreecommitdiff
path: root/devel/ruby-amstd/Makefile
blob: 1c88effe1fe2a8b51846c73c11637bd8015ee2af (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
# 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.6
CATEGORIES=	devel ruby
MASTER_SITES=	http://www1.u-netsurf.ne.jp/~brew/mine/soft/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=	ruby

MAINTAINER=	knu@FreeBSD.org

USE_RUBY=	yes

NO_BUILD=	yes

DOCS_EN=	README.en
DOCS_JA=	README.ja amstd-ja.rd
MODULES=	bench.rb \
		bug.rb \
		collfrom.rb \
		constdef.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} ${RUBY_SITELIBDIR}/amstd
.for f in ${MODULES}
	${INSTALL_DATA} ${WRKSRC}/lib/amstd/${f} \
			${RUBY_SITELIBDIR}/amstd/
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_DOCDIR}/amstd/ja
.for f in ${DOCS_EN}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/amstd/
.endfor
.for f in ${DOCS_JA}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/amstd/ja/
.endfor
.endif

.include <bsd.port.mk>