git: cedd93b090db - main - devel/p5-DataStruct-Flat: Add p5-DataStruct-Flat 0.01

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:00:13 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cedd93b090db8c84c66a0566e434431e5b000b62

commit cedd93b090db8c84c66a0566e434431e5b000b62
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:39:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:39:04 +0000

    devel/p5-DataStruct-Flat: Add p5-DataStruct-Flat 0.01
    
    DataStruct::Flat converts a nested Perl data structure into a one level hash of
    keys and values apt for human consumption.
    
    WWW: https://metacpan.org/dist/DataStruct-Flat
---
 devel/Makefile                     |  1 +
 devel/p5-DataStruct-Flat/Makefile  | 24 ++++++++++++++++++++++++
 devel/p5-DataStruct-Flat/distinfo  |  3 +++
 devel/p5-DataStruct-Flat/pkg-descr |  4 ++++
 devel/p5-DataStruct-Flat/pkg-plist |  2 ++
 5 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index cc1cf1757c76..fecf885f4ce5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2187,6 +2187,7 @@
     SUBDIR += p5-Data-Visitor-Encode
     SUBDIR += p5-Data-Visitor-Tiny
     SUBDIR += p5-Data-Walk
+    SUBDIR += p5-DataStruct-Flat
     SUBDIR += p5-Date-Business
     SUBDIR += p5-Date-Calc
     SUBDIR += p5-Date-Calc-Iterator
diff --git a/devel/p5-DataStruct-Flat/Makefile b/devel/p5-DataStruct-Flat/Makefile
new file mode 100644
index 000000000000..b5952b2abffd
--- /dev/null
+++ b/devel/p5-DataStruct-Flat/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	DataStruct-Flat
+PORTVERSION=	0.01
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:JLMARTIN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Convert a data structure into a one level list of keys and values
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Moo>=0:devel/p5-Moo
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-DataStruct-Flat/distinfo b/devel/p5-DataStruct-Flat/distinfo
new file mode 100644
index 000000000000..f0b7b7b37e07
--- /dev/null
+++ b/devel/p5-DataStruct-Flat/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1650228642
+SHA256 (DataStruct-Flat-0.01.tar.gz) = 6f64e2c6f475e6d0ac6a177af069a0e5285f5111de59650abf9331d22a9c0bbb
+SIZE (DataStruct-Flat-0.01.tar.gz) = 6817
diff --git a/devel/p5-DataStruct-Flat/pkg-descr b/devel/p5-DataStruct-Flat/pkg-descr
new file mode 100644
index 000000000000..d6d329e8d2e0
--- /dev/null
+++ b/devel/p5-DataStruct-Flat/pkg-descr
@@ -0,0 +1,4 @@
+DataStruct::Flat converts a nested Perl data structure into a one level hash of
+keys and values apt for human consumption.
+
+WWW: https://metacpan.org/dist/DataStruct-Flat
diff --git a/devel/p5-DataStruct-Flat/pkg-plist b/devel/p5-DataStruct-Flat/pkg-plist
new file mode 100644
index 000000000000..281ea51c209f
--- /dev/null
+++ b/devel/p5-DataStruct-Flat/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/DataStruct/Flat.pm
+%%PERL5_MAN3%%/DataStruct::Flat.3.gz