aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2003-10-31 01:47:22 +0800
committervanilla <vanilla@FreeBSD.org>2003-10-31 01:47:22 +0800
commitdf611d63b9a14f5fd4eee6655648b9271cfe5daf (patch)
tree3c73a528b9d6e5fcc158d230f077c1f6084824dd
parenta8793243c4766f9750ca01a92b3295d778c77eb0 (diff)
downloadfreebsd-ports-gnome-df611d63b9a14f5fd4eee6655648b9271cfe5daf.tar.gz
freebsd-ports-gnome-df611d63b9a14f5fd4eee6655648b9271cfe5daf.tar.zst
freebsd-ports-gnome-df611d63b9a14f5fd4eee6655648b9271cfe5daf.zip
Add p5-FileHandle-Unget 0.11,
a FileHandle which supports ungetting of multiple bytes. PR: 58673 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-FileHandle-Unget/Makefile29
-rw-r--r--devel/p5-FileHandle-Unget/distinfo1
-rw-r--r--devel/p5-FileHandle-Unget/pkg-descr12
-rw-r--r--devel/p5-FileHandle-Unget/pkg-plist6
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 5591ca33c5e2..7f08fa296a2f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -665,6 +665,7 @@
SUBDIR += p5-File-Sync
SUBDIR += p5-File-Tail
SUBDIR += p5-File-Temp
+ SUBDIR += p5-FileHandle-Unget
SUBDIR += p5-Filter
SUBDIR += p5-Filter-CBC
SUBDIR += p5-FreezeThaw
diff --git a/devel/p5-FileHandle-Unget/Makefile b/devel/p5-FileHandle-Unget/Makefile
new file mode 100644
index 000000000000..56085743727a
--- /dev/null
+++ b/devel/p5-FileHandle-Unget/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: devel/p5-FileHandle-Unget
+# Date created: Oct 28 2003
+# Whom: Cheng-Lung Sung <clsung@dragon2.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= FileHandle-Unget
+PORTVERSION= 0.11
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= FileHandle
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= clsung@dragon2.net
+COMMENT= A FileHandle which supports ungetting of multiple bytes
+
+PERL_CONFIGURE= yes
+
+MAN3= FileHandle::Unget.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-FileHandle-Unget/distinfo b/devel/p5-FileHandle-Unget/distinfo
new file mode 100644
index 000000000000..bdfc03f67264
--- /dev/null
+++ b/devel/p5-FileHandle-Unget/distinfo
@@ -0,0 +1 @@
+MD5 (FileHandle-Unget-0.11.tar.gz) = 9b78680ed76a63311700e9fdcb67eb1b
diff --git a/devel/p5-FileHandle-Unget/pkg-descr b/devel/p5-FileHandle-Unget/pkg-descr
new file mode 100644
index 000000000000..3d5899c636d9
--- /dev/null
+++ b/devel/p5-FileHandle-Unget/pkg-descr
@@ -0,0 +1,12 @@
+FileHandle::Unget is a drop-in replacement for FileHandle which allows more
+than one byte to be placed back on the input. It supports an ungetc(ORD) which
+can be called more than once in a row, and an ungets(SCALAR) which places a
+string of bytes back on the input.
+
+Version 0.11:
+- Fixed uninitialized value warnings
+- Create SourceForge project
+
+WWW: http://fh-unget.sourceforge.net/
+
+Author: David Coppit <david@coppit.org>
diff --git a/devel/p5-FileHandle-Unget/pkg-plist b/devel/p5-FileHandle-Unget/pkg-plist
new file mode 100644
index 000000000000..dc771be840f3
--- /dev/null
+++ b/devel/p5-FileHandle-Unget/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/FileHandle/Unget.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/FileHandle/Unget/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/FileHandle/Unget
+@dirrm %%SITE_PERL%%/FileHandle
+@unexec rmdir %D/%%SITE_PERL%%/FileHandle 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/FileHandle/Unget 2>/dev/null || true