aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-02-21 13:00:55 +0800
committerknu <knu@FreeBSD.org>2001-02-21 13:00:55 +0800
commitd18189f91bcf00e27f60754a338844ce5b16eb8d (patch)
tree5c95433669856a8250c61342d7037ea701fbd8ec /devel
parentfd81260dc22dabab00394551a464d47b50f1d579 (diff)
downloadfreebsd-ports-gnome-d18189f91bcf00e27f60754a338844ce5b16eb8d.tar.gz
freebsd-ports-gnome-d18189f91bcf00e27f60754a338844ce5b16eb8d.tar.zst
freebsd-ports-gnome-d18189f91bcf00e27f60754a338844ce5b16eb8d.zip
Add ruby-mutexm, a Mutex mix-in with some enhanced features.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/ruby-mutexm/Makefile49
-rw-r--r--devel/ruby-mutexm/distinfo1
-rw-r--r--devel/ruby-mutexm/files/patch-install.rb11
-rw-r--r--devel/ruby-mutexm/pkg-comment1
-rw-r--r--devel/ruby-mutexm/pkg-descr6
-rw-r--r--devel/ruby-mutexm/pkg-plist6
7 files changed, 75 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7ce7f4a7019e..ecdd2826a06f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -359,6 +359,7 @@
SUBDIR += ruby-intl
SUBDIR += ruby-libglade
SUBDIR += ruby-locale
+ SUBDIR += ruby-mutexm
SUBDIR += ruby-optparse
SUBDIR += ruby-property
SUBDIR += ruby-racc
diff --git a/devel/ruby-mutexm/Makefile b/devel/ruby-mutexm/Makefile
new file mode 100644
index 000000000000..fa14231f4891
--- /dev/null
+++ b/devel/ruby-mutexm/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: Ruby-MutexM
+# Date created: 21 February 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mutexm
+PORTVERSION= 0.9.2
+CATEGORIES= devel ruby
+MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+.if !defined(NOPORTDOCS)
+USE_RUBY_RD= yes
+.endif
+
+# mutexm_test.rb is not really a document but a test suite, however,
+# we install this because it's the only English reference so far.
+DOCS_EN= mutexm_test.rb
+DOCS_JA= ${RD_DOCS_JA} ${RD_DOCS_JA:S/.rd.ja/.ja.html/}
+RD_DOCS_JA= mutexm.rd.ja
+
+do-build:
+.if !defined(NOPORTDOCS)
+.for f in ${RD_DOCS_EN} ${RD_DOCS_JA}
+ cd ${WRKSRC}; \
+ ${RUBY_RD} ${f} > ${f:S/.rd.ja/.ja.html/}
+.endfor
+.endif
+
+do-install:
+ @cd ${WRKSRC}; \
+ ${RUBY} install.rb
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/mutexm/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mutexm/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mutexm/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-mutexm/distinfo b/devel/ruby-mutexm/distinfo
new file mode 100644
index 000000000000..cceb433cfd8a
--- /dev/null
+++ b/devel/ruby-mutexm/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/mutexm-0.9.2.tar.gz) = f51651703bed3173ecbbcb39c03e09e9
diff --git a/devel/ruby-mutexm/files/patch-install.rb b/devel/ruby-mutexm/files/patch-install.rb
new file mode 100644
index 000000000000..08019bce65e7
--- /dev/null
+++ b/devel/ruby-mutexm/files/patch-install.rb
@@ -0,0 +1,11 @@
+--- install.rb.orig Thu Jul 27 02:58:38 2000
++++ install.rb Wed Feb 21 13:54:38 2001
+@@ -64,7 +64,7 @@
+ for f in files
+ next if (f = f[srcdir.length+1..-1]) == nil
+ path.push f if File.ftype(File.join(srcdir, f)) == 'file'
+- dir |= File.dirname(File.join(destdir, f))
++ dir |= [ File.dirname(File.join(destdir, f)) ]
+ end
+ @ftools.makedirs(*dir)
+ for f in path
diff --git a/devel/ruby-mutexm/pkg-comment b/devel/ruby-mutexm/pkg-comment
new file mode 100644
index 000000000000..8c9e3ccbdd61
--- /dev/null
+++ b/devel/ruby-mutexm/pkg-comment
@@ -0,0 +1 @@
+Mutex mix-in with some enhanced features
diff --git a/devel/ruby-mutexm/pkg-descr b/devel/ruby-mutexm/pkg-descr
new file mode 100644
index 000000000000..072626c29a63
--- /dev/null
+++ b/devel/ruby-mutexm/pkg-descr
@@ -0,0 +1,6 @@
+MutexM is a Mutex mix-in with some enhanced features.
+
+You can do a synchronize during a synchronize, for example.
+
+Author: Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=MutexM
diff --git a/devel/ruby-mutexm/pkg-plist b/devel/ruby-mutexm/pkg-plist
new file mode 100644
index 000000000000..36865de46a50
--- /dev/null
+++ b/devel/ruby-mutexm/pkg-plist
@@ -0,0 +1,6 @@
+%%RUBY_SITELIBDIR%%/mutexm.rb
+%%PORTDOCS%%%%RUBY_DOCDIR%%/mutexm/mutexm_test.rb
+%%PORTDOCS%%%%RUBY_DOCDIR%%/mutexm/ja/mutexm.ja.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/mutexm/ja/mutexm.rd.ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/mutexm/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/mutexm