mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
Add p5-FileHandle-Unget 0.11,
a FileHandle which supports ungetting of multiple bytes. PR: 58673 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
This commit is contained in:
parent
a7a3f4a1e4
commit
c4ca9246e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92646
@ -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
|
||||
|
29
devel/p5-FileHandle-Unget/Makefile
Normal file
29
devel/p5-FileHandle-Unget/Makefile
Normal file
@ -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>
|
1
devel/p5-FileHandle-Unget/distinfo
Normal file
1
devel/p5-FileHandle-Unget/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (FileHandle-Unget-0.11.tar.gz) = 9b78680ed76a63311700e9fdcb67eb1b
|
12
devel/p5-FileHandle-Unget/pkg-descr
Normal file
12
devel/p5-FileHandle-Unget/pkg-descr
Normal file
@ -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>
|
6
devel/p5-FileHandle-Unget/pkg-plist
Normal file
6
devel/p5-FileHandle-Unget/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user