git: 7a1831b6f5a4 - main - sysutils/p5-RundeckAPI: New port: Easily queries Rundeck's REST API

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 23 Jul 2022 17:44:25 UTC
The branch main has been updated by eduardo:

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

commit 7a1831b6f5a4bcebff65f9f703cd8dd471eb0321
Author:     Xavier <xavier@groumpf.org>
AuthorDate: 2022-07-23 17:41:30 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-07-23 17:41:30 +0000

    sysutils/p5-RundeckAPI: New port: Easily queries Rundeck's REST API
    
     - submitter becomes maintainer
    
    RundeckAPI
    simplifies authenticate, connect, queries to a Rundeck instance via REST API
    
    WWW: https://metacpan.org/dist/RundeckAPI
    
    PR:             261230
---
 sysutils/Makefile                |  1 +
 sysutils/p5-RundeckAPI/Makefile  | 23 +++++++++++++++++++++++
 sysutils/p5-RundeckAPI/distinfo  |  3 +++
 sysutils/p5-RundeckAPI/pkg-descr |  4 ++++
 4 files changed, 31 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index e85ed43b1f91..4abdb1e96544 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -895,6 +895,7 @@
     SUBDIR += p5-Proclet
     SUBDIR += p5-Quota
     SUBDIR += p5-Rex
+    SUBDIR += p5-RundeckAPI
     SUBDIR += p5-Samba-SIDhelper
     SUBDIR += p5-Schedule-At
     SUBDIR += p5-Schedule-Cron
diff --git a/sysutils/p5-RundeckAPI/Makefile b/sysutils/p5-RundeckAPI/Makefile
new file mode 100644
index 000000000000..4e2609d841cf
--- /dev/null
+++ b/sysutils/p5-RundeckAPI/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	RundeckAPI
+DISTVERSION=	1.3.4.1
+CATEGORIES=	sysutils perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:XAVIERH
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	xavier@groumpf.org
+COMMENT=	Easily queries Rundeck's REST API
+
+LICENSE=	GPLv2
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-HTTP-Cookies-6.10>0:www/p5-HTTP-Cookies \
+		p5-REST-Client-273>=0:www/p5-REST-Client
+
+USES=		perl5
+USE_PERL5=	configure
+
+PLIST_FILES=	${SITE_MAN3_REL}/RundeckAPI.3.gz \
+		${SITE_PERL_REL}/RundeckAPI.pm
+
+.include <bsd.port.mk>
diff --git a/sysutils/p5-RundeckAPI/distinfo b/sysutils/p5-RundeckAPI/distinfo
new file mode 100644
index 000000000000..d8b516bc6c64
--- /dev/null
+++ b/sysutils/p5-RundeckAPI/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1642254450
+SHA256 (RundeckAPI-1.3.4.1.tar.gz) = 455b98b728907827582bfbc227d46008e14244cff1723284275fd8ab3471c4f3
+SIZE (RundeckAPI-1.3.4.1.tar.gz) = 6548
diff --git a/sysutils/p5-RundeckAPI/pkg-descr b/sysutils/p5-RundeckAPI/pkg-descr
new file mode 100644
index 000000000000..f970db81e243
--- /dev/null
+++ b/sysutils/p5-RundeckAPI/pkg-descr
@@ -0,0 +1,4 @@
+RundeckAPI
+simplifies authenticate, connect, queries to a Rundeck instance via REST API
+
+WWW: https://metacpan.org/dist/RundeckAPI