aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-IO-Pager
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2005-04-04 15:01:21 +0800
committerclsung <clsung@FreeBSD.org>2005-04-04 15:01:21 +0800
commit5f90a57e54e3ecd40aa397477bbd8da579a20f81 (patch)
treebc4dd9a0f5483882255e7091d8d9b450fd16f359 /devel/p5-IO-Pager
parenta0102af7516c1ea99da99e1e7506f960f54000c0 (diff)
downloadfreebsd-ports-gnome-5f90a57e54e3ecd40aa397477bbd8da579a20f81.tar.gz
freebsd-ports-gnome-5f90a57e54e3ecd40aa397477bbd8da579a20f81.tar.zst
freebsd-ports-gnome-5f90a57e54e3ecd40aa397477bbd8da579a20f81.zip
- add p5-IO-Pager, which select a pager, optionally pipe it output
if destination is a TTY PR: 79423 Submitted by: Rong-En Fan (maintainer)
Diffstat (limited to 'devel/p5-IO-Pager')
-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
4 files changed, 49 insertions, 0 deletions
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