git: 1dd4f00e7580 - main - security/p5-Crypt-GpgME (new port): Perl interface to libgpgme.

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Mon, 02 May 2022 09:19:16 UTC
The branch main has been updated by danfe:

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

commit 1dd4f00e758015ba15a854ff8ecda6ec205d95a8
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-05-02 09:18:08 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-05-02 09:18:08 +0000

    security/p5-Crypt-GpgME (new port): Perl interface to libgpgme.
    
    WWW: https://metacpan.org/dist/Crypt-GpgME
---
 security/Makefile                 |  1 +
 security/p5-Crypt-GpgME/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 security/p5-Crypt-GpgME/distinfo  |  3 +++
 security/p5-Crypt-GpgME/pkg-descr |  3 +++
 security/p5-Crypt-GpgME/pkg-plist |  5 +++++
 5 files changed, 46 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index ed80372f48a9..c48166d12180 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -502,6 +502,7 @@
     SUBDIR += p5-Crypt-GOST_PP
     SUBDIR += p5-Crypt-GPG
     SUBDIR += p5-Crypt-GeneratePassword
+    SUBDIR += p5-Crypt-GpgME
     SUBDIR += p5-Crypt-HCE_MD5
     SUBDIR += p5-Crypt-HCE_SHA
     SUBDIR += p5-Crypt-HSXKPasswd
diff --git a/security/p5-Crypt-GpgME/Makefile b/security/p5-Crypt-GpgME/Makefile
new file mode 100644
index 000000000000..4fb7852a13dd
--- /dev/null
+++ b/security/p5-Crypt-GpgME/Makefile
@@ -0,0 +1,34 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
+
+PORTNAME=	Crypt-GpgME
+PORTVERSION=	0.09
+CATEGORIES=	security perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
+COMMENT=	Perl interface to libgpgme
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+LIB_DEPENDS=	libassuan.so:security/libassuan \
+		libgpg-error.so:security/libgpg-error \
+		libgpgme.so:security/gpgme
+RUN_DEPENDS=	p5-IO-Stringy>=0:devel/p5-IO-Stringy
+TEST_DEPENDS=	p5-Test-Exception>=0:devel/p5-Test-Exception
+
+USES=		gmake localbase perl5
+USE_PERL5=	configure
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${INSTALL_WRKSRC}/Changes ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-GpgME/distinfo b/security/p5-Crypt-GpgME/distinfo
new file mode 100644
index 000000000000..4dd7b3104a61
--- /dev/null
+++ b/security/p5-Crypt-GpgME/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1258498777
+SHA256 (Crypt-GpgME-0.09.tar.gz) = fd76ae6f9ea2d58e9830cb038014741fc97241f703afaf80b4ea2cffe1eaadad
+SIZE (Crypt-GpgME-0.09.tar.gz) = 69896
diff --git a/security/p5-Crypt-GpgME/pkg-descr b/security/p5-Crypt-GpgME/pkg-descr
new file mode 100644
index 000000000000..8fe10fad1296
--- /dev/null
+++ b/security/p5-Crypt-GpgME/pkg-descr
@@ -0,0 +1,3 @@
+Crypt::GpgME is Perl interface to libgpgme.
+
+WWW: https://metacpan.org/dist/Crypt-GpgME
diff --git a/security/p5-Crypt-GpgME/pkg-plist b/security/p5-Crypt-GpgME/pkg-plist
new file mode 100644
index 000000000000..40011ace76f7
--- /dev/null
+++ b/security/p5-Crypt-GpgME/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_ARCH%%/Crypt/GpgME.pm
+%%SITE_ARCH%%/auto/Crypt/GpgME/GpgME.so
+%%PERL5_MAN3%%/Crypt::GpgME.3.gz
+%%PORTDOCS%%%%DOCSDIR%%/Changes
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sign.pl