aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-IO-Pager/Makefile26
-rw-r--r--devel/p5-IO-Pager/distinfo2
-rw-r--r--devel/p5-IO-Pager/pkg-descr11
-rw-r--r--devel/p5-IO-Pager/pkg-plist10
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 078fb4d233f1..ba8d0ac37e01 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -894,6 +894,7 @@
SUBDIR += p5-IO-CaptureOutput
SUBDIR += p5-IO-Digest
SUBDIR += p5-IO-Multiplex
+ SUBDIR += p5-IO-Pager
SUBDIR += p5-IO-String
SUBDIR += p5-IO-Stty
SUBDIR += p5-IO-Tee
diff --git a/devel/p5-IO-Pager/Makefile b/devel/p5-IO-Pager/Makefile
new file mode 100644
index 000000000000..1c73df3be42d
--- /dev/null
+++ b/devel/p5-IO-Pager/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: IO-Pager
+# Date created: Apr 1 2005
+# Whom: Rong-En Fan <rafan@infor.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= IO-Pager
+PORTVERSION= 0.05
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/J/JP/JPIERCE
+PKGNAMEPREFIX= p5-
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= rafan@infor.org
+COMMENT= Select a pager, optionally pipe it output if destination is a TTY
+
+PERL_CONFIGURE= yes
+
+MAN3= IO::Pager::Buffered.3 \
+ IO::Pager::Page.3 \
+ IO::Pager::Unbuffered.3 \
+ IO::Pager.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-IO-Pager/distinfo b/devel/p5-IO-Pager/distinfo
new file mode 100644
index 000000000000..49740e574c6e
--- /dev/null
+++ b/devel/p5-IO-Pager/distinfo
@@ -0,0 +1,2 @@
+MD5 (IO-Pager-0.05.tgz) = d1a891930d7020c7d85b433c84daf403
+SIZE (IO-Pager-0.05.tgz) = 6034
diff --git a/devel/p5-IO-Pager/pkg-descr b/devel/p5-IO-Pager/pkg-descr
new file mode 100644
index 000000000000..2f86b20e8539
--- /dev/null
+++ b/devel/p5-IO-Pager/pkg-descr
@@ -0,0 +1,11 @@
+IO::Pager is lightweight and can be used to locate an available pager
+and set $ENV{PAGER} sanely or as a factory for creating objects defined
+elsewhere such as IO::Pager::Buffered and IO::Pager::Unbuffered.
+
+IO::Pager subclasses are designed to programmatically decide whether
+or not to pipe a filehandle's output to a program specified in $ENV{PAGER}.
+Subclasses are only required to support filehandle output methods and close,
+namely
+
+WWW: http://search.cpan.org/~jpierce/IO-Pager/
+Author: Jerrad Pierce
diff --git a/devel/p5-IO-Pager/pkg-plist b/devel/p5-IO-Pager/pkg-plist
new file mode 100644
index 000000000000..44941763c479
--- /dev/null
+++ b/devel/p5-IO-Pager/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Pager/.packlist
+%%SITE_PERL%%/IO/Pager.pm
+%%SITE_PERL%%/IO/t.pl
+%%SITE_PERL%%/IO/Pager/Buffered.pm
+%%SITE_PERL%%/IO/Pager/Unbuffered.pm
+%%SITE_PERL%%/IO/Pager/Page.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Pager/
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/IO/Pager 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/IO 2>/dev/null || true