summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/ruby-strongtyping/Makefile34
-rw-r--r--devel/ruby-strongtyping/distinfo1
-rw-r--r--devel/ruby-strongtyping/pkg-comment1
-rw-r--r--devel/ruby-strongtyping/pkg-descr7
-rw-r--r--devel/ruby-strongtyping/pkg-plist6
6 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 952d53ce3b05..67a5d950389d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -776,6 +776,7 @@
SUBDIR += ruby-sdl
SUBDIR += ruby-setup.rb
SUBDIR += ruby-slang
+ SUBDIR += ruby-strongtyping
SUBDIR += ruby-sysvipc
SUBDIR += ruby-testunit
SUBDIR += ruby-textbuf
diff --git a/devel/ruby-strongtyping/Makefile b/devel/ruby-strongtyping/Makefile
new file mode 100644
index 000000000000..e5b2994b29fe
--- /dev/null
+++ b/devel/ruby-strongtyping/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: Ruby-StrongTyping
+# Date created: 29 January 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= strongtyping
+PORTVERSION= 2.0
+CATEGORIES= devel ruby
+MASTER_SITES= http://www.nwlink.com/~rpav/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOCS= README.en
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/t/*.rb ${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-strongtyping/distinfo b/devel/ruby-strongtyping/distinfo
new file mode 100644
index 000000000000..1a59c3d335ed
--- /dev/null
+++ b/devel/ruby-strongtyping/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/strongtyping-2.0.tar.gz) = 9cc59d7a52274a0484fa9fd52f0fe42a
diff --git a/devel/ruby-strongtyping/pkg-comment b/devel/ruby-strongtyping/pkg-comment
new file mode 100644
index 000000000000..6e6d549b0f62
--- /dev/null
+++ b/devel/ruby-strongtyping/pkg-comment
@@ -0,0 +1 @@
+A little Ruby module that adds strong typing facilities
diff --git a/devel/ruby-strongtyping/pkg-descr b/devel/ruby-strongtyping/pkg-descr
new file mode 100644
index 000000000000..be7ff0115317
--- /dev/null
+++ b/devel/ruby-strongtyping/pkg-descr
@@ -0,0 +1,7 @@
+StrongTyping is a little ruby module that provides a convenient way
+for ruby methods to check parameter types, and also dynamically query
+them. In addition to merely checking a single set of types, it allows
+easy overloading based on a number of different templates.
+
+Author: Ryan Pavlik <rpav@users.sf.net>
+WWW: http://www.nwlink.com/~rpav/StrongTyping.html
diff --git a/devel/ruby-strongtyping/pkg-plist b/devel/ruby-strongtyping/pkg-plist
new file mode 100644
index 000000000000..6eeda3b6acef
--- /dev/null
+++ b/devel/ruby-strongtyping/pkg-plist
@@ -0,0 +1,6 @@
+%%RUBY_SITEARCHLIBDIR%%/strongtyping.so
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/functest.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/timetest.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%