2000-08-07 17:15:06 +00:00
|
|
|
# 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
|
2000-08-16 12:21:24 +00:00
|
|
|
CATEGORIES= devel ruby
|
2000-08-07 17:15:06 +00:00
|
|
|
MASTER_SITES= http://www1.u-netsurf.ne.jp/~brew/mine/soft/
|
|
|
|
PKGNAMEPREFIX= ruby-
|
2000-08-08 16:08:31 +00:00
|
|
|
DIST_SUBDIR= ruby
|
2000-08-07 17:15:06 +00:00
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
|
|
|
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
|
|
|
|
|
2000-08-12 20:09:41 +00:00
|
|
|
RUBY?= ${LOCALBASE}/bin/ruby
|
|
|
|
RUBY_VER?= 1.4
|
|
|
|
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
|
2000-08-07 17:15:06 +00:00
|
|
|
|
|
|
|
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>
|