summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-06-12 18:29:00 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-06-12 18:29:00 +0000
commitc4a8ec2651c7ff4c7d704754ee1965e7ede61b5a (patch)
treec96f7baa02661f037303ccffca757bfbb9baab4a /net
parentUsers keep reporting problems with update files on MASTER_SITES: (diff)
Adding port net/p5-Spread, Perl extension for the Spread group
communication system. Approved by: tobez (implicit)
Notes
Notes: svn path=/head/; revision=165259
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Spread/Makefile25
-rw-r--r--net/p5-Spread/distinfo3
-rw-r--r--net/p5-Spread/files/patch-Makefile.PL13
-rw-r--r--net/p5-Spread/pkg-descr10
-rw-r--r--net/p5-Spread/pkg-plist6
6 files changed, 58 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index b661c40e0f30..527c9e9c6e4c 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -488,6 +488,7 @@
SUBDIR += p5-SOAP-Lite
SUBDIR += p5-Socket6
SUBDIR += p5-Socks
+ SUBDIR += p5-Spread
SUBDIR += p5-Spread-Session
SUBDIR += p5-URI
SUBDIR += p5-URI-OpenURL
diff --git a/net/p5-Spread/Makefile b/net/p5-Spread/Makefile
new file mode 100644
index 000000000000..72ab2852ff33
--- /dev/null
+++ b/net/p5-Spread/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-Spread
+# Date created: 12 Jun 2006
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Spread
+PORTVERSION= 3.17.3.1.07
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/J/JE/JESUS
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-3.17.3-1.07
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= Perl extension for the Spread group communication system
+
+LIB_DEPENDS= spread.1:${PORTSDIR}/net/spread
+
+MAN3= Spread.3
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/net/p5-Spread/distinfo b/net/p5-Spread/distinfo
new file mode 100644
index 000000000000..d9c6b4c6cb43
--- /dev/null
+++ b/net/p5-Spread/distinfo
@@ -0,0 +1,3 @@
+MD5 (Spread-3.17.3-1.07.tar.gz) = 4502abc0aa06acc280448385f612497a
+SHA256 (Spread-3.17.3-1.07.tar.gz) = 940da47a312224218aab32f884895fe191a74985a5c704944b5a77fb8512b99a
+SIZE (Spread-3.17.3-1.07.tar.gz) = 9323
diff --git a/net/p5-Spread/files/patch-Makefile.PL b/net/p5-Spread/files/patch-Makefile.PL
new file mode 100644
index 000000000000..994e262f16e7
--- /dev/null
+++ b/net/p5-Spread/files/patch-Makefile.PL
@@ -0,0 +1,13 @@
+--- Makefile.PL.orig Thu Sep 26 07:54:46 2002
++++ Makefile.PL Mon Jun 12 12:13:33 2006
+@@ -2,8 +2,8 @@
+ use ExtUtils::MakeMaker 5.16 ;
+ use Config ;
+
+-$SPLIB_LIB = '-L../.. -L../spread-src-3.17.0/' ;
+-$SPLIB_INCLUDE = '-I ../.. -I ../spread-src-3.17.0/' ;
++$SPLIB_LIB = '-L../.. -L../spread-src-3.17.0/ -L/usr/local/lib' ;
++$SPLIB_INCLUDE = '-I ../.. -I ../spread-src-3.17.0/ -I/usr/local/include';
+
+ WriteMakefile(
+ NAME => 'Spread',
diff --git a/net/p5-Spread/pkg-descr b/net/p5-Spread/pkg-descr
new file mode 100644
index 000000000000..a1e08010bd39
--- /dev/null
+++ b/net/p5-Spread/pkg-descr
@@ -0,0 +1,10 @@
+Understanding through practice ;)
+
+See man pages for SP_connect, SP_join, SP_multicast, SP_receive, SP_poll,
+SP_error, SP_leave, SP_disconnect.
+
+$sperror holds either the integer spread error or a descriptive string
+depending on the context in which $sperror is used.
+
+WWW: http://search.cpan.org/dist/Spread
+Author: Theo Schlossnagle <jesus@cnds.jhu.edu>
diff --git a/net/p5-Spread/pkg-plist b/net/p5-Spread/pkg-plist
new file mode 100644
index 000000000000..ab2901a2b7c9
--- /dev/null
+++ b/net/p5-Spread/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Spread.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/Spread.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/Spread.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/autosplit.ix
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread