aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-03-25 00:28:11 +0800
committermiwi <miwi@FreeBSD.org>2009-03-25 00:28:11 +0800
commit0913bb3f6707360d65ea42987e0e3f487b229d8e (patch)
tree3f62887671051bc42a2c8558fff24688f662c447 /devel
parent280abdda2db6d313b783dd76260272807d56b10d (diff)
downloadfreebsd-ports-gnome-0913bb3f6707360d65ea42987e0e3f487b229d8e.tar.gz
freebsd-ports-gnome-0913bb3f6707360d65ea42987e0e3f487b229d8e.tar.zst
freebsd-ports-gnome-0913bb3f6707360d65ea42987e0e3f487b229d8e.zip
Uses the FreeBSD sendfile(2) function to send the contents of an open file
handle directly to an open socket. WWW: http://search.cpan.org/dist/Sys-Sendfile-FreeBSD/ PR: ports/132812 Submitted by: Mykola Marzhan <delgod at portaone.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Sys-Sendfile-FreeBSD/Makefile21
-rw-r--r--devel/p5-Sys-Sendfile-FreeBSD/distinfo3
-rw-r--r--devel/p5-Sys-Sendfile-FreeBSD/pkg-descr4
-rw-r--r--devel/p5-Sys-Sendfile-FreeBSD/pkg-plist9
5 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 19d0f879ebab..9f4ed7a7a5ae 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1796,6 +1796,7 @@
SUBDIR += p5-Sys-Mmap
SUBDIR += p5-Sys-RunAlone
SUBDIR += p5-Sys-RunAlways
+ SUBDIR += p5-Sys-Sendfile-FreeBSD
SUBDIR += p5-Sys-Sig
SUBDIR += p5-Sys-SigAction
SUBDIR += p5-Sys-Syscall
diff --git a/devel/p5-Sys-Sendfile-FreeBSD/Makefile b/devel/p5-Sys-Sendfile-FreeBSD/Makefile
new file mode 100644
index 000000000000..327c439cf685
--- /dev/null
+++ b/devel/p5-Sys-Sendfile-FreeBSD/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: Sys::Sendfile::FreeBSD
+# Date created: Jan 21, 2009
+# Whom: Mykola Marzhan <delgod@portaone.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Sys-Sendfile-FreeBSD
+PORTVERSION= 0.01
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= delgod@portaone.com
+COMMENT= Wrapper for the FreeBSD sendfile(2) function
+
+PERL_CONFIGURE= yes
+
+MAN3= Sys::Sendfile::FreeBSD.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Sys-Sendfile-FreeBSD/distinfo b/devel/p5-Sys-Sendfile-FreeBSD/distinfo
new file mode 100644
index 000000000000..fdb1b4fd88d8
--- /dev/null
+++ b/devel/p5-Sys-Sendfile-FreeBSD/distinfo
@@ -0,0 +1,3 @@
+MD5 (Sys-Sendfile-FreeBSD-0.01.tar.gz) = ee3f200c96588a62caf6a11b9891d246
+SHA256 (Sys-Sendfile-FreeBSD-0.01.tar.gz) = 9b37098779f763bb04adb76f1cf3661b03376161e3d0458666f315cd0fb0a082
+SIZE (Sys-Sendfile-FreeBSD-0.01.tar.gz) = 2970
diff --git a/devel/p5-Sys-Sendfile-FreeBSD/pkg-descr b/devel/p5-Sys-Sendfile-FreeBSD/pkg-descr
new file mode 100644
index 000000000000..e84066e20f71
--- /dev/null
+++ b/devel/p5-Sys-Sendfile-FreeBSD/pkg-descr
@@ -0,0 +1,4 @@
+Uses the FreeBSD sendfile(2) function to send the contents of an open file
+handle directly to an open socket.
+
+WWW: http://search.cpan.org/dist/Sys-Sendfile-FreeBSD/
diff --git a/devel/p5-Sys-Sendfile-FreeBSD/pkg-plist b/devel/p5-Sys-Sendfile-FreeBSD/pkg-plist
new file mode 100644
index 000000000000..a1d7283e161f
--- /dev/null
+++ b/devel/p5-Sys-Sendfile-FreeBSD/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Sys/Sendfile/FreeBSD.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Sys/Sendfile
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Sys
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Sendfile/FreeBSD/FreeBSD.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Sendfile/FreeBSD/FreeBSD.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Sendfile/FreeBSD/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Sendfile/FreeBSD
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Sendfile
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys