aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2006-02-21 16:40:12 +0800
committerseanc <seanc@FreeBSD.org>2006-02-21 16:40:12 +0800
commitf15b8211d39d4231e622459f9af17d97f34a2d80 (patch)
tree888b9fc90f01377abdae50758fb68e1640da1b60 /net
parent7387697fb6d2ddb9833a229065bc5ef7de567879 (diff)
downloadfreebsd-ports-gnome-f15b8211d39d4231e622459f9af17d97f34a2d80.tar.gz
freebsd-ports-gnome-f15b8211d39d4231e622459f9af17d97f34a2d80.tar.zst
freebsd-ports-gnome-f15b8211d39d4231e622459f9af17d97f34a2d80.zip
Unbreak port and upgrade to 1.0.
Diffstat (limited to 'net')
-rw-r--r--net/ruby-spread/Makefile8
-rw-r--r--net/ruby-spread/distinfo5
-rw-r--r--net/ruby-spread/files/patch-extconf.rb9
-rw-r--r--net/ruby-spread/pkg-plist1
4 files changed, 16 insertions, 7 deletions
diff --git a/net/ruby-spread/Makefile b/net/ruby-spread/Makefile
index 8486bb43f447..e9d94fb2b94e 100644
--- a/net/ruby-spread/Makefile
+++ b/net/ruby-spread/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= spread
-PORTVERSION= 0.2
+PORTVERSION= 1.0
CATEGORIES= net ruby
-MASTER_SITES= http://www.rubynet.org/modules/net/spread/
+MASTER_SITES= http://www.omniti.com/~george/rb_spread/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= rb_${PORTNAME}
DIST_SUBDIR= ruby
MAINTAINER= seanc@FreeBSD.org
@@ -17,10 +18,9 @@ COMMENT= Ruby interface to the Spread library
LIB_DEPENDS= tspread.1:${PORTSDIR}/net/spread
-BROKEN= Unfetchable
-
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}-${PORTVERSION}
INSTALL_TARGET= site-install
diff --git a/net/ruby-spread/distinfo b/net/ruby-spread/distinfo
index d94848ac747a..fbd6aaf9294f 100644
--- a/net/ruby-spread/distinfo
+++ b/net/ruby-spread/distinfo
@@ -1,2 +1,3 @@
-MD5 (ruby/spread-0.2.tar.gz) = cd4d8b969bd2145793008c450cf050fe
-SIZE (ruby/spread-0.2.tar.gz) = 6716
+MD5 (ruby/rb_spread.tar.gz) = b4bcbe750b8768c6db9877af5a9c2735
+SHA256 (ruby/rb_spread.tar.gz) = 34da0e9ff1f829a8f590031f508287fb07d5ff06660b563c0928909c0f306412
+SIZE (ruby/rb_spread.tar.gz) = 5183
diff --git a/net/ruby-spread/files/patch-extconf.rb b/net/ruby-spread/files/patch-extconf.rb
new file mode 100644
index 000000000000..571c59a32b99
--- /dev/null
+++ b/net/ruby-spread/files/patch-extconf.rb
@@ -0,0 +1,9 @@
+--- extconf.rb.orig Tue Feb 21 00:34:57 2006
++++ extconf.rb Tue Feb 21 00:35:07 2006
+@@ -1,5 +1,5 @@
+ require "mkmf"
+ #$LDFLAGS = "-lsp"
+-$LOCAL_LIBS = "-ltsp -lpthread"
++$LOCAL_LIBS = "-ltspread -lpthread"
+ create_makefile("spread")
+
diff --git a/net/ruby-spread/pkg-plist b/net/ruby-spread/pkg-plist
index 8791454c4bab..dbc0bf51eec9 100644
--- a/net/ruby-spread/pkg-plist
+++ b/net/ruby-spread/pkg-plist
@@ -1,5 +1,4 @@
%%RUBY_SITEARCHLIBDIR%%/spread.so
-%%RUBY_SITELIBDIR%%/spread_nonblock.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flooder.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/user.rb
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%