git: f4a42faf1601 - main - textproc/p5-XML-Enc: Add p5-XML-Enc 0.06

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 10:30:36 UTC
The branch main has been updated by sunpoet:

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

commit f4a42faf16014d16a8e982a339e126ad45eb96d5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 10:10:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 10:10:20 +0000

    textproc/p5-XML-Enc: Add p5-XML-Enc 0.06
    
    XML::Enc provides XML Encryption support.
    
    WWW: https://metacpan.org/dist/XML-Enc
---
 textproc/Makefile             |  1 +
 textproc/p5-XML-Enc/Makefile  | 29 +++++++++++++++++++++++++++++
 textproc/p5-XML-Enc/distinfo  |  3 +++
 textproc/p5-XML-Enc/pkg-descr |  3 +++
 textproc/p5-XML-Enc/pkg-plist |  2 ++
 5 files changed, 38 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 8a1953f3bc0b..981537fbaf68 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1052,6 +1052,7 @@
     SUBDIR += p5-XML-Driver-HTML
     SUBDIR += p5-XML-Dumper
     SUBDIR += p5-XML-Elemental
+    SUBDIR += p5-XML-Enc
     SUBDIR += p5-XML-Encoding
     SUBDIR += p5-XML-Entities
     SUBDIR += p5-XML-FOAF
diff --git a/textproc/p5-XML-Enc/Makefile b/textproc/p5-XML-Enc/Makefile
new file mode 100644
index 000000000000..5beeeafc2036
--- /dev/null
+++ b/textproc/p5-XML-Enc/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	XML-Enc
+PORTVERSION=	0.06
+CATEGORIES=	textproc perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	XML Encryption support
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Crypt-OpenSSL-Bignum>=0:security/p5-Crypt-OpenSSL-Bignum \
+		p5-Crypt-OpenSSL-RSA>=0:security/p5-Crypt-OpenSSL-RSA \
+		p5-Crypt-OpenSSL-X509>=0:security/p5-Crypt-OpenSSL-X509 \
+		p5-Crypt-Random>=0:security/p5-Crypt-Random \
+		p5-CryptX>=0.062:security/p5-CryptX \
+		p5-XML-LibXML>=0:textproc/p5-XML-LibXML
+TEST_DEPENDS=	p5-File-Slurper>=0:devel/p5-File-Slurper \
+		p5-File-Which>=0:sysutils/p5-File-Which
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Enc/distinfo b/textproc/p5-XML-Enc/distinfo
new file mode 100644
index 000000000000..9eaaeeb5e720
--- /dev/null
+++ b/textproc/p5-XML-Enc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660576676
+SHA256 (XML-Enc-0.06.tar.gz) = f6abc61d2723e7c995405bec263dd970c75d0a05d5e6fddce04ff9a013579e03
+SIZE (XML-Enc-0.06.tar.gz) = 84041
diff --git a/textproc/p5-XML-Enc/pkg-descr b/textproc/p5-XML-Enc/pkg-descr
new file mode 100644
index 000000000000..4da0d2d4cf9d
--- /dev/null
+++ b/textproc/p5-XML-Enc/pkg-descr
@@ -0,0 +1,3 @@
+XML::Enc provides XML Encryption support.
+
+WWW: https://metacpan.org/dist/XML-Enc
diff --git a/textproc/p5-XML-Enc/pkg-plist b/textproc/p5-XML-Enc/pkg-plist
new file mode 100644
index 000000000000..88b608fafb10
--- /dev/null
+++ b/textproc/p5-XML-Enc/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/XML/Enc.pm
+%%PERL5_MAN3%%/XML::Enc.3.gz