Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2024 06:19:29 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: 5748798e4d67 - main - net/p5-URI-NamespaceMap: Add p5-URI-NamespaceMap 1.12
Message-ID:  <202409050619.4856JTRf091583@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=5748798e4d67e87711a1fdd6b17a1d1f64fb419a

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

    net/p5-URI-NamespaceMap: Add p5-URI-NamespaceMap 1.12
    
    URI::Namespace provides an object with a URI/IRI attribute, typically used
    prefix-namespace pairs, typically used in XML, RDF serializations, etc. The
    local part can be used as a method, these are autoloaded.
---
 net/Makefile                      |  1 +
 net/p5-URI-NamespaceMap/Makefile  | 33 +++++++++++++++++++++++++++++++++
 net/p5-URI-NamespaceMap/distinfo  |  3 +++
 net/p5-URI-NamespaceMap/pkg-descr |  3 +++
 net/p5-URI-NamespaceMap/pkg-plist |  8 ++++++++
 5 files changed, 48 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 5c9fc6c8b535..2ab3b0caa428 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -894,6 +894,7 @@
     SUBDIR += p5-URI-Fast
     SUBDIR += p5-URI-FromHash
     SUBDIR += p5-URI-Match
+    SUBDIR += p5-URI-NamespaceMap
     SUBDIR += p5-URI-Nested
     SUBDIR += p5-URI-OpenURL
     SUBDIR += p5-URI-Query
diff --git a/net/p5-URI-NamespaceMap/Makefile b/net/p5-URI-NamespaceMap/Makefile
new file mode 100644
index 000000000000..ce94e5d1b5ad
--- /dev/null
+++ b/net/p5-URI-NamespaceMap/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	URI-NamespaceMap
+PORTVERSION=	1.12
+CATEGORIES=	net perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Namespace URI/IRI class with autoload methods
+WWW=		https://metacpan.org/dist/URI-NamespaceMap
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-IRI>=0.004:devel/p5-IRI \
+		p5-Moo>=1.006000:devel/p5-Moo \
+		p5-Sub-Quote>=0:devel/p5-Sub-Quote \
+		p5-Try-Tiny>=0:lang/p5-Try-Tiny \
+		p5-Type-Tiny>=1.000000:devel/p5-Type-Tiny \
+		p5-Types-URI>=0.004:devel/p5-Types-URI \
+		p5-URI>=1.52:net/p5-URI \
+		p5-namespace-autoclean>=0.20:devel/p5-namespace-autoclean
+TEST_DEPENDS=	p5-Test-Deep>=0:devel/p5-Test-Deep \
+		p5-Test-Exception>=0:devel/p5-Test-Exception \
+		p5-Test-Requires>=0:devel/p5-Test-Requires
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net/p5-URI-NamespaceMap/distinfo b/net/p5-URI-NamespaceMap/distinfo
new file mode 100644
index 000000000000..472feaa887f8
--- /dev/null
+++ b/net/p5-URI-NamespaceMap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724084476
+SHA256 (URI-NamespaceMap-1.12.tar.gz) = b05c3fb3cbcec9db925c039a0814ac4bcc2962e6b367d32fc339d79e9510e6b8
+SIZE (URI-NamespaceMap-1.12.tar.gz) = 29690
diff --git a/net/p5-URI-NamespaceMap/pkg-descr b/net/p5-URI-NamespaceMap/pkg-descr
new file mode 100644
index 000000000000..a99c92652d0e
--- /dev/null
+++ b/net/p5-URI-NamespaceMap/pkg-descr
@@ -0,0 +1,3 @@
+URI::Namespace provides an object with a URI/IRI attribute, typically used
+prefix-namespace pairs, typically used in XML, RDF serializations, etc. The
+local part can be used as a method, these are autoloaded.
diff --git a/net/p5-URI-NamespaceMap/pkg-plist b/net/p5-URI-NamespaceMap/pkg-plist
new file mode 100644
index 000000000000..2443a190cd8b
--- /dev/null
+++ b/net/p5-URI-NamespaceMap/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Types/Namespace.pm
+%%SITE_PERL%%/URI/Namespace.pm
+%%SITE_PERL%%/URI/NamespaceMap.pm
+%%SITE_PERL%%/URI/NamespaceMap/ReservedLocalParts.pm
+%%PERL5_MAN3%%/Types::Namespace.3.gz
+%%PERL5_MAN3%%/URI::Namespace.3.gz
+%%PERL5_MAN3%%/URI::NamespaceMap.3.gz
+%%PERL5_MAN3%%/URI::NamespaceMap::ReservedLocalParts.3.gz



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