From 848b92cbe8195e5315426aad99c99bdfdc0f28d8 Mon Sep 17 00:00:00 2001 From: clsung Date: Tue, 19 Oct 2004 15:51:58 +0000 Subject: - PerlIO layer for normalizing line endings - required by svk 0.23 PR: ports/72857 Submitted by: Rong-En Fan Approved by: co-mentor (vanilla) --- devel/Makefile | 1 + devel/p5-PerlIO-eol/Makefile | 28 ++++++++++++++++++++++++++++ devel/p5-PerlIO-eol/distinfo | 2 ++ devel/p5-PerlIO-eol/pkg-descr | 4 ++++ devel/p5-PerlIO-eol/pkg-plist | 8 ++++++++ 5 files changed, 43 insertions(+) create mode 100644 devel/p5-PerlIO-eol/Makefile create mode 100644 devel/p5-PerlIO-eol/distinfo create mode 100644 devel/p5-PerlIO-eol/pkg-descr create mode 100644 devel/p5-PerlIO-eol/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index ae01bc3..6a3cf58 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -931,6 +931,7 @@ SUBDIR += p5-Path-Class SUBDIR += p5-Penguin SUBDIR += p5-Penguin-Easy + SUBDIR += p5-PerlIO-eol SUBDIR += p5-PerlIO-via-dynamic SUBDIR += p5-PerlIO-via-symlink SUBDIR += p5-PerlMenu diff --git a/devel/p5-PerlIO-eol/Makefile b/devel/p5-PerlIO-eol/Makefile new file mode 100644 index 0000000..8530b95 --- /dev/null +++ b/devel/p5-PerlIO-eol/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: devel/p5-PerlIO-eol +# Date created: Oct 19 2004 +# Whom: Rong-En Fan +# +# $FreeBSD$ +# + +PORTNAME= PerlIO-eol +PORTVERSION= 0.13 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/A/AU/AUTRIJUS +PKGNAMEPREFIX= p5- + +MAINTAINER= rafan@infor.org +COMMENT= PerlIO layer for normalizing line endings + +PERL_CONFIGURE= yes + +MAN3= PerlIO::eol.3 + +.include + +.if ${PERL_LEVEL} < 500800 +IGNORE= This module only supports perl 5.8.0 or above +.endif + +.include diff --git a/devel/p5-PerlIO-eol/distinfo b/devel/p5-PerlIO-eol/distinfo new file mode 100644 index 0000000..8306f8c --- /dev/null +++ b/devel/p5-PerlIO-eol/distinfo @@ -0,0 +1,2 @@ +MD5 (PerlIO-eol-0.13.tar.gz) = 7e11fb1cc3b2a65678714877ae361823 +SIZE (PerlIO-eol-0.13.tar.gz) = 14429 diff --git a/devel/p5-PerlIO-eol/pkg-descr b/devel/p5-PerlIO-eol/pkg-descr new file mode 100644 index 0000000..1738f83 --- /dev/null +++ b/devel/p5-PerlIO-eol/pkg-descr @@ -0,0 +1,4 @@ +This layer normalizes any of CR, LF, CRLF and Native into the designated +line ending. It works for both input and output handles. + +WWW: http://search.cpan.org/~autrijus/PerlIO-eol/ diff --git a/devel/p5-PerlIO-eol/pkg-plist b/devel/p5-PerlIO-eol/pkg-plist new file mode 100644 index 0000000..bec29ae --- /dev/null +++ b/devel/p5-PerlIO-eol/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO/eol/eol.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO/eol/eol.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO/eol/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/PerlIO/eol.pm +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO/eol 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/PerlIO/eol 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/PerlIO 2>/dev/null || true -- cgit v1.1