Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2024 06:19:30 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8ac630951f58 - main - www/p5-Nodejs-Util: Add p5-Nodejs-Util 0.012
Message-ID:  <202409050619.4856JUvp091622@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 8ac630951f58a12107ed49564a7bd91a1df2db1b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:14:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:11:19 +0000

    www/p5-Nodejs-Util: Add p5-Nodejs-Util 0.012
    
    Nodejs::Util provides utilities related to Node.js, including nodejs_available,
    nodejs_module_path and nodejs_path.
---
 www/Makefile                 |  1 +
 www/p5-Nodejs-Util/Makefile  | 27 +++++++++++++++++++++++++++
 www/p5-Nodejs-Util/distinfo  |  3 +++
 www/p5-Nodejs-Util/pkg-descr |  2 ++
 www/p5-Nodejs-Util/pkg-plist |  2 ++
 5 files changed, 35 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index ec0336715f5b..46a1095f1b03 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1065,6 +1065,7 @@
     SUBDIR += p5-Newsletter
     SUBDIR += p5-Nginx-ReadBody
     SUBDIR += p5-Nginx-Simple
+    SUBDIR += p5-Nodejs-Util
     SUBDIR += p5-OpenAPI-Client
     SUBDIR += p5-PHP-Session
     SUBDIR += p5-POE-Component-Client-HTTP
diff --git a/www/p5-Nodejs-Util/Makefile b/www/p5-Nodejs-Util/Makefile
new file mode 100644
index 000000000000..e20d2b88a7a8
--- /dev/null
+++ b/www/p5-Nodejs-Util/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	Nodejs-Util
+PORTVERSION=	0.012
+CATEGORIES=	www perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:PERLANCAR
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Utilities related to Node.js
+WWW=		https://metacpan.org/dist/Nodejs-Util
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-File-Which>=0:sysutils/p5-File-Which \
+		p5-IPC-System-Options>=0.330:devel/p5-IPC-System-Options
+TEST_DEPENDS=	p5-File-Slurper>=0:devel/p5-File-Slurper \
+		p5-File-chdir>=0:devel/p5-File-chdir
+
+USES=		nodejs:run perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/p5-Nodejs-Util/distinfo b/www/p5-Nodejs-Util/distinfo
new file mode 100644
index 000000000000..8ee6aaa6b6e3
--- /dev/null
+++ b/www/p5-Nodejs-Util/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724084478
+SHA256 (Nodejs-Util-0.012.tar.gz) = fe30f492f5fb6ea894c46d4bb55ca246c7571d3825ab78dbf5578df94fad44c5
+SIZE (Nodejs-Util-0.012.tar.gz) = 19496
diff --git a/www/p5-Nodejs-Util/pkg-descr b/www/p5-Nodejs-Util/pkg-descr
new file mode 100644
index 000000000000..f1b17be8e6a6
--- /dev/null
+++ b/www/p5-Nodejs-Util/pkg-descr
@@ -0,0 +1,2 @@
+Nodejs::Util provides utilities related to Node.js, including nodejs_available,
+nodejs_module_path and nodejs_path.
diff --git a/www/p5-Nodejs-Util/pkg-plist b/www/p5-Nodejs-Util/pkg-plist
new file mode 100644
index 000000000000..dda8de0f6451
--- /dev/null
+++ b/www/p5-Nodejs-Util/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Nodejs/Util.pm
+%%PERL5_MAN3%%/Nodejs::Util.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409050619.4856JUvp091622>