aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-12-19 20:22:58 +0800
committerwill <will@FreeBSD.org>2000-12-19 20:22:58 +0800
commit9d9951a44716a02f1f54e118fa29c0dbb902c6e0 (patch)
treedf0c4effe22f82ed0a1cf0cabd10e7a5df8388f2 /devel
parente6d6b54a027cac05cd617b2f59b0569b67bdbfdd (diff)
downloadfreebsd-ports-gnome-9d9951a44716a02f1f54e118fa29c0dbb902c6e0.tar.gz
freebsd-ports-gnome-9d9951a44716a02f1f54e118fa29c0dbb902c6e0.tar.zst
freebsd-ports-gnome-9d9951a44716a02f1f54e118fa29c0dbb902c6e0.zip
Add p5-Term-Size 0.2, a Perl module which provides a straightforward way
to get the size of the terminal (or window) on which a script is running. PR: 23340 Submitted by: R Bradford Jones <brad@kazrak.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Term-Size/Makefile26
-rw-r--r--devel/p5-Term-Size/distinfo1
-rw-r--r--devel/p5-Term-Size/pkg-comment1
-rw-r--r--devel/p5-Term-Size/pkg-descr4
-rw-r--r--devel/p5-Term-Size/pkg-plist9
6 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 0e27530e1349..02c23d555ffe 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -247,6 +247,7 @@
SUBDIR += p5-Term-ANSIColor
SUBDIR += p5-Term-Query
SUBDIR += p5-Term-ReadKey
+ SUBDIR += p5-Term-Size
SUBDIR += p5-Tie-DB_FileLock
SUBDIR += p5-Time
SUBDIR += p5-Time-HiRes
diff --git a/devel/p5-Term-Size/Makefile b/devel/p5-Term-Size/Makefile
new file mode 100644
index 000000000000..06c246bc512d
--- /dev/null
+++ b/devel/p5-Term-Size/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Term-Size
+# Date created: 6 December 2000
+# Whom: Brad Jones <brad@kazrak.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Term-Size
+PORTVERSION= 0.2
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Term
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= brad@kazrak.com
+
+USE_PERL5= YES
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Term::Size.3
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Term-Size/distinfo b/devel/p5-Term-Size/distinfo
new file mode 100644
index 000000000000..4be5aa916df7
--- /dev/null
+++ b/devel/p5-Term-Size/distinfo
@@ -0,0 +1 @@
+MD5 (Term-Size-0.2.tar.gz) = 982b5df8351e7654a42b7bffc0bf1d57
diff --git a/devel/p5-Term-Size/pkg-comment b/devel/p5-Term-Size/pkg-comment
new file mode 100644
index 000000000000..11e52bcd81c3
--- /dev/null
+++ b/devel/p5-Term-Size/pkg-comment
@@ -0,0 +1 @@
+A Perl5 module to handle window size changes.
diff --git a/devel/p5-Term-Size/pkg-descr b/devel/p5-Term-Size/pkg-descr
new file mode 100644
index 000000000000..a35b70a713a5
--- /dev/null
+++ b/devel/p5-Term-Size/pkg-descr
@@ -0,0 +1,4 @@
+Excerpted from the README file:
+
+Term::Size is a Perl module which provides a straightforward way to get
+the size of the terminal (or window) on which a script is running.
diff --git a/devel/p5-Term-Size/pkg-plist b/devel/p5-Term-Size/pkg-plist
new file mode 100644
index 000000000000..2e58b3fc30da
--- /dev/null
+++ b/devel/p5-Term-Size/pkg-plist
@@ -0,0 +1,9 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Term/Size.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/Size/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/Size/Size.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/Size/Size.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/Size/autosplit.ix
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/Size
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Term 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Term 2>/dev/null || true