aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-strongtyping
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-01-29 11:06:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-01-29 11:06:05 +0000
commit28120af9789cc68914068b87dc2e9131fa83aed9 (patch)
tree99c8859a1200bcffb5f0db07454fc074ce2033f6 /devel/ruby-strongtyping
parent508878ca1994bf96d4b95345de5c3f1ad8d59dcc (diff)
downloadports-28120af9789cc68914068b87dc2e9131fa83aed9.tar.gz
ports-28120af9789cc68914068b87dc2e9131fa83aed9.zip
Notes
Diffstat (limited to 'devel/ruby-strongtyping')
-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
5 files changed, 49 insertions, 0 deletions
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%%