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 +# +# $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 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 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