summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Socket/Makefile24
-rw-r--r--net/p5-Socket/distinfo3
-rw-r--r--net/p5-Socket/pkg-descr7
-rw-r--r--net/p5-Socket/pkg-plist7
5 files changed, 42 insertions, 0 deletions
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-ports@bluepex.com>
+#
+# $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 <bsd.port.mk>
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