From owner-dev-commits-ports-all@freebsd.org Sun Jul 18 17:56:05 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F2E866E4DE; Sun, 18 Jul 2021 17:56:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GSXhh6bG2z3lQ5; Sun, 18 Jul 2021 17:56:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C25DAAF; Sun, 18 Jul 2021 17:56:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16IHu49g036340; Sun, 18 Jul 2021 17:56:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16IHu4PD036339; Sun, 18 Jul 2021 17:56:04 GMT (envelope-from git) Date: Sun, 18 Jul 2021 17:56:04 GMT Message-Id: <202107181756.16IHu4PD036339@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ef9d54613baa - main - devel/p5-File-LoadLines: Add p5-File-LoadLines 1.020.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ef9d54613baa8b2019522337763284cc6b35957e Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2021 17:56:05 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ef9d54613baa8b2019522337763284cc6b35957e commit ef9d54613baa8b2019522337763284cc6b35957e Author: Po-Chuan Hsieh AuthorDate: 2021-07-18 17:46:41 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-07-18 17:46:41 +0000 devel/p5-File-LoadLines: Add p5-File-LoadLines 1.020.2 File::LoadLines provides an easy way to load the contents of a text file into an array of lines. It is intended for relatively small files like config files that are often produced by weird tools (and users). It automatically handles ASCII, Latin-1 and UTF-8 text. When the file has a BOM, it handles UTF-8, UTF-16 LE and BE, and UTF-32 LE and BE. Recognized line terminators are NL (Unix, Linux), CRLF (DOS, Windows) and CR (Mac) WWW: https://metacpan.org/dist/File-LoadLines --- devel/Makefile | 1 + devel/p5-File-LoadLines/Makefile | 23 +++++++++++++++++++++++ devel/p5-File-LoadLines/distinfo | 3 +++ devel/p5-File-LoadLines/pkg-descr | 11 +++++++++++ devel/p5-File-LoadLines/pkg-plist | 2 ++ 5 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 00c324b80999..d9d8b180b906 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2398,6 +2398,7 @@ SUBDIR += p5-File-HomeDir-Tiny SUBDIR += p5-File-Iterator SUBDIR += p5-File-LibMagic + SUBDIR += p5-File-LoadLines SUBDIR += p5-File-MMagic SUBDIR += p5-File-MMagic-XS SUBDIR += p5-File-Map diff --git a/devel/p5-File-LoadLines/Makefile b/devel/p5-File-LoadLines/Makefile new file mode 100644 index 000000000000..70615bd75f46 --- /dev/null +++ b/devel/p5-File-LoadLines/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= File-LoadLines +PORTVERSION= 1.020.2 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Load lines from file + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Test-Exception>=0.43:devel/p5-Test-Exception + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-File-LoadLines/distinfo b/devel/p5-File-LoadLines/distinfo new file mode 100644 index 000000000000..e64be4120eac --- /dev/null +++ b/devel/p5-File-LoadLines/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1626542050 +SHA256 (File-LoadLines-1.020.2.tar.gz) = 1a28a5fdf4e4b27eb4041b22808356e8d5947900188ef27c8f3614de3ac197a7 +SIZE (File-LoadLines-1.020.2.tar.gz) = 6747 diff --git a/devel/p5-File-LoadLines/pkg-descr b/devel/p5-File-LoadLines/pkg-descr new file mode 100644 index 000000000000..ad7345875391 --- /dev/null +++ b/devel/p5-File-LoadLines/pkg-descr @@ -0,0 +1,11 @@ +File::LoadLines provides an easy way to load the contents of a text file into an +array of lines. It is intended for relatively small files like config files that +are often produced by weird tools (and users). + +It automatically handles ASCII, Latin-1 and UTF-8 text. When the file has a BOM, +it handles UTF-8, UTF-16 LE and BE, and UTF-32 LE and BE. + +Recognized line terminators are NL (Unix, Linux), CRLF (DOS, Windows) and CR +(Mac) + +WWW: https://metacpan.org/dist/File-LoadLines diff --git a/devel/p5-File-LoadLines/pkg-plist b/devel/p5-File-LoadLines/pkg-plist new file mode 100644 index 000000000000..fc3935449c1d --- /dev/null +++ b/devel/p5-File-LoadLines/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/File/LoadLines.pm +%%PERL5_MAN3%%/File::LoadLines.3.gz