aboutsummaryrefslogtreecommitdiff
path: root/net/ruby-spread
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/ruby-spread
parent504155fb74586b2e5632eadbc45ec40abcd719b6 (diff)
downloadports-7efa063df4472846e5cb5e7f5ccb0354be30c302.tar.gz
ports-7efa063df4472846e5cb5e7f5ccb0354be30c302.zip
Add a Ruby interface to the Spread library.
Reviewed by: knu
Notes
Notes: svn path=/head/; revision=70709
Diffstat (limited to 'net/ruby-spread')
-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
5 files changed, 43 insertions, 0 deletions
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