summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2002-11-21 20:02:50 +0000
committerSean Chittenden <seanc@FreeBSD.org>2002-11-21 20:02:50 +0000
commit7efa063df4472846e5cb5e7f5ccb0354be30c302 (patch)
tree7b9d80eeb3edbde823cd5307b817c8e585d591ef /net
parentUpdate to release 20020626, new maintainer. (diff)
Add a Ruby interface to the Spread library.
Reviewed by: knu
Notes
Notes: svn path=/head/; revision=70709
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/ruby-spread/Makefile33
-rw-r--r--net/ruby-spread/distinfo1
-rw-r--r--net/ruby-spread/pkg-comment1
-rw-r--r--net/ruby-spread/pkg-descr3
-rw-r--r--net/ruby-spread/pkg-plist5
6 files changed, 44 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index b10f280f9f2a..3d1d5afcbf59 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -509,6 +509,7 @@
SUBDIR += ruby-pcap
SUBDIR += ruby-radius
SUBDIR += ruby-romp
+ SUBDIR += ruby-spread
SUBDIR += ruby-snmp
SUBDIR += ruby-soap
SUBDIR += ruby-tcpsocketpipe
diff --git a/net/ruby-spread/Makefile b/net/ruby-spread/Makefile
new file mode 100644
index 000000000000..b54cc1f7d505
--- /dev/null
+++ b/net/ruby-spread/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: ruby-spread
+# Date created: 2002 July 22
+# Whom: seanc@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= spread
+PORTVERSION= 0.2
+CATEGORIES= net ruby
+MASTER_SITES= http://www.rubynet.org/modules/net/spread/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= seanc@FreeBSD.org
+
+LIB_DEPENDS= tspread.1:${PORTSDIR}/net/spread
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/flooder.rb ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/user.rb ${RUBY_MODEXAMPLESDIR}
+ ${MKDIR} ${RUBY_MODDOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/ruby-spread/distinfo b/net/ruby-spread/distinfo
new file mode 100644
index 000000000000..228ca285215f
--- /dev/null
+++ b/net/ruby-spread/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/spread-0.2.tar.gz) = cd4d8b969bd2145793008c450cf050fe
diff --git a/net/ruby-spread/pkg-comment b/net/ruby-spread/pkg-comment
new file mode 100644
index 000000000000..e67c21e37313
--- /dev/null
+++ b/net/ruby-spread/pkg-comment
@@ -0,0 +1 @@
+Ruby interface to the Spread library
diff --git a/net/ruby-spread/pkg-descr b/net/ruby-spread/pkg-descr
new file mode 100644
index 000000000000..a716451fef9c
--- /dev/null
+++ b/net/ruby-spread/pkg-descr
@@ -0,0 +1,3 @@
+Ruby Spread is a library interface for the Ruby.
+
+WWW: http://www.spread.org/
diff --git a/net/ruby-spread/pkg-plist b/net/ruby-spread/pkg-plist
new file mode 100644
index 000000000000..49dde2702edd
--- /dev/null
+++ b/net/ruby-spread/pkg-plist
@@ -0,0 +1,5 @@
+%%RUBY_SITEARCHLIBDIR%%/spread.so
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flooder.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/user.rb
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/spread/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/spread