summaryrefslogtreecommitdiff
path: root/devel/ruby-amstd
diff options
context:
space:
mode:
authortaca <taca>2001-06-30 23:29:39 +0000
committertaca <taca>2001-06-30 23:29:39 +0000
commit08f18b680503357d678e9e271ffc4f5aff53c33f (patch)
tree25338200d538dedf930bd9c1479e96135717927a /devel/ruby-amstd
parent29d67f6e52922b789e84af108382d72343668199 (diff)
downloadpkgsrc-08f18b680503357d678e9e271ffc4f5aff53c33f.tar.gz
Importing ruby-amstd.
Collection of miscellaneous Ruby modules.
Diffstat (limited to 'devel/ruby-amstd')
-rw-r--r--devel/ruby-amstd/Makefile39
-rw-r--r--devel/ruby-amstd/Makefile.common17
-rw-r--r--devel/ruby-amstd/distinfo5
-rw-r--r--devel/ruby-amstd/patches/patch-aa16
-rw-r--r--devel/ruby-amstd/pkg/DESCR18
-rw-r--r--devel/ruby-amstd/pkg/PLIST29
6 files changed, 124 insertions, 0 deletions
diff --git a/devel/ruby-amstd/Makefile b/devel/ruby-amstd/Makefile
new file mode 100644
index 00000000000..796bb06eb13
--- /dev/null
+++ b/devel/ruby-amstd/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 23:29:39 taca Exp $
+# FreeBSD: ports/devel/ruby-amstd/Makefile,v 1.8 2000/12/06 15:38:58 knu Exp
+
+DISTNAME= amstd-1.9.7
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= http://www9.xdsl.ne.jp/~aamine/soft/ \
+ http://www1.u-netsurf.ne.jp/~brew/mine/soft/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www1.u-netsurf.ne.jp/~brew/mine/
+COMMENT= Collection of miscellaneous Ruby modules
+
+DIST_SUBDIR= ruby
+USE_RUBY= yes
+NO_BUILD= # defined
+
+DOCS_EN= README.en
+DOCS_JA= README.ja amstd-ja.rd
+SRCS= 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:
+ ${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/amstd
+.for f in ${SRCS}
+ ${INSTALL_DATA} ${WRKSRC}/lib/amstd/${f} ${RUBY_SITELIBDIR}/amstd
+.endfor
+ ${INSTALL_DATA_DIR} ${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
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-amstd/Makefile.common b/devel/ruby-amstd/Makefile.common
new file mode 100644
index 00000000000..abb04442e25
--- /dev/null
+++ b/devel/ruby-amstd/Makefile.common
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2001/06/30 23:29:39 taca Exp $
+#
+
+# USE_RUBY_AMSTD - Says that the package uses amstd for building and
+# running.
+# RUBY_AMSTD_REQD - Minimum version required for ruby-amstd.
+RUBY_AMSTD_REQD= 1.9
+.if !defined(RUBY_AMSTD_MK)
+RUBY_AMSTD_MK= # defined
+
+USE_RUBY= yes
+
+.if defined(USE_RUBY_AMSTD)
+DEPENDS+= ${RUBY_PKGNAMEPREFIX}amstd>=${RUBY_AMSTD_REQD}:../../devel/ruby-amstd
+.endif
+
+.endif
diff --git a/devel/ruby-amstd/distinfo b/devel/ruby-amstd/distinfo
new file mode 100644
index 00000000000..bbc01eeae10
--- /dev/null
+++ b/devel/ruby-amstd/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/06/30 23:29:39 taca Exp $
+
+SHA1 (ruby/amstd-1.9.7.tar.gz) = 49a56e17ee49435d03124612f02bf7252315b9df
+Size (ruby/amstd-1.9.7.tar.gz) = 22082 bytes
+SHA1 (patch-aa) = f7dab1eb2368c5eff69548146117bd083f552f5d
diff --git a/devel/ruby-amstd/patches/patch-aa b/devel/ruby-amstd/patches/patch-aa
new file mode 100644
index 00000000000..071fc63b288
--- /dev/null
+++ b/devel/ruby-amstd/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/06/30 23:29:39 taca Exp $
+
+--- amstd-ja.rd.orig Wed Feb 14 06:37:06 2001
++++ amstd-ja.rd
+@@ -1,3 +1,5 @@
++=begin
++
+ = amstd リファレンスマニュアル
+
+ Copyright (c) 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+@@ -262,3 +264,5 @@
+
+ : to_s
+ '1.2.3' のような文字列を返します。
++
++=end
diff --git a/devel/ruby-amstd/pkg/DESCR b/devel/ruby-amstd/pkg/DESCR
new file mode 100644
index 00000000000..c9ff612a862
--- /dev/null
+++ b/devel/ruby-amstd/pkg/DESCR
@@ -0,0 +1,18 @@
+This is the AMbicious STanDard library, available under GPL2.
+
+It is a collection of miscellaneous Ruby modules by Minero Aoki.
+Several modules of his are using those modules.
+
+bench.rb: very simple benchmark packing.rb: makes package (.tar.gz)
+bug.rb: 'bug!' method pipeline.rb: filter file
+dispatch.rb: "event handler" method rbparams.rb: parameters related ruby
+errutil.rb: protects exception recycle.rb: recycles objects
+extmod.rb: abstract/property methods rubyemu.rb: ruby emuration
+futils.rb: file utilities strquote.rb: String#quoted
+gconst.rb: defines global constant timer.rb: timer class
+getdep.rb: gets file dependency to_s.rb: _name2str, _type2str
+inst.rb: helps installation version.rb: VersionNumber class
+must.rb: must/must_have/must_be methods
+
+Author: Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+WWW: http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html
diff --git a/devel/ruby-amstd/pkg/PLIST b/devel/ruby-amstd/pkg/PLIST
new file mode 100644
index 00000000000..9ea8bb692c1
--- /dev/null
+++ b/devel/ruby-amstd/pkg/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 23:29:39 taca Exp $
+${RUBY_SITELIBDIR}/amstd/bench.rb
+${RUBY_SITELIBDIR}/amstd/bug.rb
+${RUBY_SITELIBDIR}/amstd/collfrom.rb
+${RUBY_SITELIBDIR}/amstd/constdef.rb
+${RUBY_SITELIBDIR}/amstd/dispatch.rb
+${RUBY_SITELIBDIR}/amstd/errutil.rb
+${RUBY_SITELIBDIR}/amstd/extmod.rb
+${RUBY_SITELIBDIR}/amstd/fileutils.rb
+${RUBY_SITELIBDIR}/amstd/futils.rb
+${RUBY_SITELIBDIR}/amstd/gconst.rb
+${RUBY_SITELIBDIR}/amstd/getdep.rb
+${RUBY_SITELIBDIR}/amstd/info.rb
+${RUBY_SITELIBDIR}/amstd/must.rb
+${RUBY_SITELIBDIR}/amstd/pipeline.rb
+${RUBY_SITELIBDIR}/amstd/rbparams.rb
+${RUBY_SITELIBDIR}/amstd/recycle.rb
+${RUBY_SITELIBDIR}/amstd/rubyemu.rb
+${RUBY_SITELIBDIR}/amstd/strquote.rb
+${RUBY_SITELIBDIR}/amstd/symbol.rb
+${RUBY_SITELIBDIR}/amstd/timer.rb
+${RUBY_SITELIBDIR}/amstd/to_s.rb
+${RUBY_SITELIBDIR}/amstd/version.rb
+@dirrm ${RUBY_SITELIBDIR}/amstd
+${RUBY_DOCDIR}/amstd/README.en
+${RUBY_DOCDIR}/amstd/ja/README.ja
+${RUBY_DOCDIR}/amstd/ja/amstd-ja.rd
+@dirrm ${RUBY_DOCDIR}/amstd/ja
+@dirrm ${RUBY_DOCDIR}/amstd