From e7b7ea1f160a939fce7998e04557f46c2d0e0f53 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 30 May 2008 14:12:29 +0000 Subject: This module is just a translation of the C socket.h file. Unlike the old mechanism of requiring a translated socket.ph file, this uses the h2xs program (see the Perl source distribution) and your native C compiler. This means that it has a far more likely chance of getting the numbers right. This includes all of the commonly used pound-defines like AF_INET, SOCK_STREAM, etc. WWW: http://search.cpan.org/dist/Socket/ PR: ports/124132 Submitted by: BluePex Security Solutions --- net/Makefile | 1 + net/p5-Socket/Makefile | 24 ++++++++++++++++++++++++ net/p5-Socket/distinfo | 3 +++ net/p5-Socket/pkg-descr | 7 +++++++ net/p5-Socket/pkg-plist | 7 +++++++ 5 files changed, 42 insertions(+) create mode 100644 net/p5-Socket/Makefile create mode 100644 net/p5-Socket/distinfo create mode 100644 net/p5-Socket/pkg-descr create mode 100644 net/p5-Socket/pkg-plist (limited to 'net') diff --git a/net/Makefile b/net/Makefile index b14dcb2ee9a7..72b8b6915901 100644 --- a/net/Makefile +++ b/net/Makefile @@ -606,6 +606,7 @@ SUBDIR += p5-SOAP-Lite-060 SUBDIR += p5-SOAP-MySOAP SUBDIR += p5-Samba-LDAP + SUBDIR += p5-Socket SUBDIR += p5-Socket-Multicast6 SUBDIR += p5-Socket6 SUBDIR += p5-Socks diff --git a/net/p5-Socket/Makefile b/net/p5-Socket/Makefile new file mode 100644 index 000000000000..b03d51241ebb --- /dev/null +++ b/net/p5-Socket/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: p5-Socket +# Date created: 2008-05-30 +# Whom: BluePex Security Solutions +# +# $FreeBSD$ +# + +PORTNAME= Socket +PORTVERSION= 1.5 +CATEGORIES= net perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= freebsd-ports@bluepex.com +COMMENT= Load the C socket.h defines and structure manipulators + +PERL_CONFIGURE= yes + +MAN3= Socket.3 + +post-patch: + @${REINPLACE_CMD} -e '/MAN3PODS/d' ${WRKSRC}/Makefile.PL + +.include diff --git a/net/p5-Socket/distinfo b/net/p5-Socket/distinfo new file mode 100644 index 000000000000..99b528cb51ff --- /dev/null +++ b/net/p5-Socket/distinfo @@ -0,0 +1,3 @@ +MD5 (Socket-1.5.tar.gz) = 5cc739b14a329140f7995e99b91a4e8d +SHA256 (Socket-1.5.tar.gz) = a64659d8b719dd253414cede1a221f736323db6a70a071c6d066bd5b8034e6a6 +SIZE (Socket-1.5.tar.gz) = 5193 diff --git a/net/p5-Socket/pkg-descr b/net/p5-Socket/pkg-descr new file mode 100644 index 000000000000..1eb38e83398c --- /dev/null +++ b/net/p5-Socket/pkg-descr @@ -0,0 +1,7 @@ +This module is just a translation of the C socket.h file. Unlike the old +mechanism of requiring a translated socket.ph file, this uses the h2xs program +(see the Perl source distribution) and your native C compiler. This means +that it has a far more likely chance of getting the numbers right. This includes +all of the commonly used pound-defines like AF_INET, SOCK_STREAM, etc. + +WWW: http://search.cpan.org/dist/Socket/ diff --git a/net/p5-Socket/pkg-plist b/net/p5-Socket/pkg-plist new file mode 100644 index 000000000000..de0daab112c0 --- /dev/null +++ b/net/p5-Socket/pkg-plist @@ -0,0 +1,7 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/Socket.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/Socket.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/Socket.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/autosplit.ix +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket -- cgit v1.2.3