pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Tee The Tee distribution provides the ptee pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c09b55599df
branches:  trunk
changeset: 555224:4c09b55599df
user:      sno <sno%pkgsrc.org@localhost>
date:      Thu Feb 26 08:12:25 2009 +0000

description:
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:

 devel/p5-Tee/DESCR    |  11 +++++++++++
 devel/p5-Tee/Makefile |  23 +++++++++++++++++++++++
 devel/p5-Tee/distinfo |   5 +++++
 3 files changed, 39 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r 70591e53c48f -r 4c09b55599df devel/p5-Tee/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Tee/DESCR        Thu Feb 26 08:12:25 2009 +0000
@@ -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 -r 70591e53c48f -r 4c09b55599df devel/p5-Tee/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Tee/Makefile     Thu Feb 26 08:12:25 2009 +0000
@@ -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@localhost
+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 -r 70591e53c48f -r 4c09b55599df devel/p5-Tee/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Tee/distinfo     Thu Feb 26 08:12:25 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index