summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsno <sno>2009-02-26 08:12:25 +0000
committersno <sno>2009-02-26 08:12:25 +0000
commit133cfd3b82fc74f16ccbbcbb375b6733d31abcd5 (patch)
tree6eab2127cea0f7d80df6afbbd72dc0524fad5166 /devel
parent537c135364f0e54ccdb7a28fd533ac12850f8280 (diff)
downloadpkgsrc-133cfd3b82fc74f16ccbbcbb375b6733d31abcd5.tar.gz
The Tee distribution provides the ptee program, a pure Perl emulation of the
standard GNU tool tee. It is designed to be a platform-independent replacement for operating systems without a native tee program. As with tee, it passes input received on STDIN through to STDOUT while also writing a copy of the input to one or more files. By default, files will be overwritten. Unlike tee, ptee does not support ignoring interrupts, as signal handling is not sufficiently portable. The Tee module provides a convenience function that may be used in place of system() to redirect commands through ptee.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Tee/DESCR11
-rw-r--r--devel/p5-Tee/Makefile23
-rw-r--r--devel/p5-Tee/distinfo5
3 files changed, 39 insertions, 0 deletions
diff --git a/devel/p5-Tee/DESCR b/devel/p5-Tee/DESCR
new file mode 100644
index 00000000000..661cff5314f
--- /dev/null
+++ b/devel/p5-Tee/DESCR
@@ -0,0 +1,11 @@
+The Tee distribution provides the ptee program, a pure Perl emulation of the
+standard GNU tool tee. It is designed to be a platform-independent
+replacement for operating systems without a native tee program. As with tee,
+it passes input received on STDIN through to STDOUT while also writing a copy
+of the input to one or more files. By default, files will be overwritten.
+
+Unlike tee, ptee does not support ignoring interrupts, as signal handling is
+not sufficiently portable.
+
+The Tee module provides a convenience function that may be used in place of
+system() to redirect commands through ptee.
diff --git a/devel/p5-Tee/Makefile b/devel/p5-Tee/Makefile
new file mode 100644
index 00000000000..f37f69f3fb8
--- /dev/null
+++ b/devel/p5-Tee/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2009/02/26 08:12:25 sno Exp $
+#
+
+DISTNAME= Tee-0.13
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DA/DAGOLDEN/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Tee/
+COMMENT= Pure Perl emulation of GNU tee
+
+PKG_DESTDIR_SUPPORT= user-destdir
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Tee/.packlist
+
+DEPENDS+= p5-Probe-Perl>=0:../../devel/p5-Probe-Perl
+DEPENDS+= p5-IPC-Run3>=0.033:../../devel/p5-IPC-Run3
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Tee/distinfo b/devel/p5-Tee/distinfo
new file mode 100644
index 00000000000..d7ec1a94128
--- /dev/null
+++ b/devel/p5-Tee/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2009/02/26 08:12:25 sno Exp $
+
+SHA1 (Tee-0.13.tar.gz) = 28e20c8c1c02843b7ea76fa433f4751bb4ddcaa7
+RMD160 (Tee-0.13.tar.gz) = 7e0ca8779c92935d2b4777671d594e0f6e39f0bd
+Size (Tee-0.13.tar.gz) = 16646 bytes