- Re-add p5-Socket 1.97

Socket is a low-level module used by, among other things, the IO::Socket family
of modules. The following examples demonstrate some low-level uses but a
practical program would likely use the higher-level API provided by IO::Socket
or similar instead.

WWW: http://search.cpan.org/dist/Socket/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-01-23 18:43:40 +00:00
parent 782271e3c8
commit 10c1ccb9fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289673
5 changed files with 44 additions and 0 deletions

View file

@ -713,6 +713,7 @@
SUBDIR += p5-SOAP-Transport-TCP
SUBDIR += p5-Samba-LDAP
SUBDIR += p5-Server-Starter
SUBDIR += p5-Socket
SUBDIR += p5-Socket-Class
SUBDIR += p5-Socket-GetAddrInfo
SUBDIR += p5-Socket-Multicast6

30
net/p5-Socket/Makefile Normal file
View file

@ -0,0 +1,30 @@
# New ports collection makefile for: p5-Socket
# Date created: 2011-12-12
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Socket
PORTVERSION= 1.97
CATEGORIES= net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:PEVANS
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Networking constants and support functions
BUILD_DEPENDS= p5-ExtUtils-Constant>=0.23:${PORTSDIR}/devel/p5-ExtUtils-Constant
PERL_CONFIGURE= yes
MAN3= Socket.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501000
BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
.endif
.include <bsd.port.post.mk>

2
net/p5-Socket/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (Socket-1.97.tar.gz) = f14403ea6801b17c7a9bc456c2723ce2e0f53161d1623330ba68313c9b4934e1
SIZE (Socket-1.97.tar.gz) = 33323

6
net/p5-Socket/pkg-descr Normal file
View file

@ -0,0 +1,6 @@
Socket is a low-level module used by, among other things, the IO::Socket family
of modules. The following examples demonstrate some low-level uses but a
practical program would likely use the higher-level API provided by IO::Socket
or similar instead.
WWW: http://search.cpan.org/dist/Socket/

5
net/p5-Socket/pkg-plist Normal file
View file

@ -0,0 +1,5 @@
%%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
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket