git: 5715b62f47ee - main - www/p5-HTTP-OAI: Add port

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Tue, 22 Nov 2022 23:37:59 UTC
The branch main has been updated by ygy:

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

commit 5715b62f47ee801df995c7e1722abbc42a873208
Author:     Martin Neubauer <m.ne@gmx.net>
AuthorDate: 2022-11-22 23:37:49 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-11-22 23:37:49 +0000

    www/p5-HTTP-OAI: Add port
    
    PR:             267881
---
 www/Makefile              |  1 +
 www/p5-HTTP-OAI/Makefile  | 29 ++++++++++++++++++++
 www/p5-HTTP-OAI/distinfo  |  3 +++
 www/p5-HTTP-OAI/pkg-descr |  1 +
 www/p5-HTTP-OAI/pkg-plist | 68 +++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 102 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 3b7af616a3b7..0cfde027315a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -919,6 +919,7 @@
     SUBDIR += p5-HTTP-MobileAgent-Plugin-Locator
     SUBDIR += p5-HTTP-MultiPartParser
     SUBDIR += p5-HTTP-Negotiate
+    SUBDIR += p5-HTTP-OAI
     SUBDIR += p5-HTTP-Parser
     SUBDIR += p5-HTTP-Parser-XS
     SUBDIR += p5-HTTP-Proxy
diff --git a/www/p5-HTTP-OAI/Makefile b/www/p5-HTTP-OAI/Makefile
new file mode 100644
index 000000000000..02400016eb03
--- /dev/null
+++ b/www/p5-HTTP-OAI/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	HTTP-OAI
+PORTVERSION=	4.12
+CATEGORIES=	www perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	m.ne@gmx.net
+COMMENT=	HTTP::OAI - API for the OAI-PMH
+WWW=		https://metacpan.org/dist/HTTP-OAI
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Encode>=2.12:converters/p5-Encode \
+		p5-HTTP-Message>0:www/p5-HTTP-Message \
+		p5-libwww>=5.818:www/p5-libwww \
+		p5-URI>0:net/p5-URI \
+		p5-XML-LibXML>=1.60:textproc/p5-XML-LibXML \
+		p5-XML-NamespaceSupport>0:textproc/p5-XML-NamespaceSupport \
+		p5-XML-SAX-Base>=1.04:textproc/p5-XML-SAX-Base \
+		p5-XML-SAX>0:textproc/p5-XML-SAX
+
+USES=		perl5
+USE_PERL5=	modbuildtiny
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/p5-HTTP-OAI/distinfo b/www/p5-HTTP-OAI/distinfo
new file mode 100644
index 000000000000..3c246829e21c
--- /dev/null
+++ b/www/p5-HTTP-OAI/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1666876621
+SHA256 (HTTP-OAI-4.12.tar.gz) = c08373798a16ad5ec26802409efa17f91bc9efb217d1f30d2720d9f2cdcbac70
+SIZE (HTTP-OAI-4.12.tar.gz) = 46508
diff --git a/www/p5-HTTP-OAI/pkg-descr b/www/p5-HTTP-OAI/pkg-descr
new file mode 100644
index 000000000000..88877ac77b62
--- /dev/null
+++ b/www/p5-HTTP-OAI/pkg-descr
@@ -0,0 +1 @@
+HTTP::OAI - API for the OAI-PMH
diff --git a/www/p5-HTTP-OAI/pkg-plist b/www/p5-HTTP-OAI/pkg-plist
new file mode 100644
index 000000000000..8351890f1104
--- /dev/null
+++ b/www/p5-HTTP-OAI/pkg-plist
@@ -0,0 +1,68 @@
+bin/oai_browser.pl
+bin/oai_pmh.pl
+%%SITE_PERL%%/HTTP/OAI.pm
+%%SITE_PERL%%/HTTP/OAI/Debug.pm
+%%SITE_PERL%%/HTTP/OAI/Encapsulation.pm
+%%SITE_PERL%%/HTTP/OAI/Error.pm
+%%SITE_PERL%%/HTTP/OAI/GetRecord.pm
+%%SITE_PERL%%/HTTP/OAI/Harvester.pm
+%%SITE_PERL%%/HTTP/OAI/Header.pm
+%%SITE_PERL%%/HTTP/OAI/Identify.pm
+%%SITE_PERL%%/HTTP/OAI/ListIdentifiers.pm
+%%SITE_PERL%%/HTTP/OAI/ListMetadataFormats.pm
+%%SITE_PERL%%/HTTP/OAI/ListRecords.pm
+%%SITE_PERL%%/HTTP/OAI/ListSets.pm
+%%SITE_PERL%%/HTTP/OAI/MemberMixin.pm
+%%SITE_PERL%%/HTTP/OAI/Metadata.pm
+%%SITE_PERL%%/HTTP/OAI/Metadata/METS.pm
+%%SITE_PERL%%/HTTP/OAI/Metadata/OAI_DC.pm
+%%SITE_PERL%%/HTTP/OAI/Metadata/OAI_Eprints.pm
+%%SITE_PERL%%/HTTP/OAI/Metadata/OAI_Identifier.pm
+%%SITE_PERL%%/HTTP/OAI/MetadataFormat.pm
+%%SITE_PERL%%/HTTP/OAI/PartialList.pm
+%%SITE_PERL%%/HTTP/OAI/Record.pm
+%%SITE_PERL%%/HTTP/OAI/Repository.pm
+%%SITE_PERL%%/HTTP/OAI/Response.pm
+%%SITE_PERL%%/HTTP/OAI/ResumptionToken.pm
+%%SITE_PERL%%/HTTP/OAI/SAX/Base.pm
+%%SITE_PERL%%/HTTP/OAI/SAX/Driver.pm
+%%SITE_PERL%%/HTTP/OAI/SAX/Text.pm
+%%SITE_PERL%%/HTTP/OAI/SAX/Trace.pm
+%%SITE_PERL%%/HTTP/OAI/SAXHandler.pm
+%%SITE_PERL%%/HTTP/OAI/Set.pm
+%%SITE_PERL%%/HTTP/OAI/UserAgent.pm
+%%SITE_PERL%%/HTTP/OAI/Verb.pm
+%%PERL5_MAN1%%/oai_browser.pl.1.gz
+%%PERL5_MAN1%%/oai_pmh.pl.1.gz
+%%PERL5_MAN3%%/HTTP::OAI.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Debug.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Encapsulation.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Error.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::GetRecord.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Harvester.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Header.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Identify.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::ListIdentifiers.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::ListMetadataFormats.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::ListRecords.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::ListSets.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::MemberMixin.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Metadata.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Metadata::METS.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Metadata::OAI_DC.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Metadata::OAI_Eprints.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Metadata::OAI_Identifier.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::MetadataFormat.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::PartialList.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Record.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Repository.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Response.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::ResumptionToken.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::SAX::Base.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::SAX::Driver.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::SAX::Text.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::SAX::Trace.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::SAXHandler.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Set.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::UserAgent.3.gz
+%%PERL5_MAN3%%/HTTP::OAI::Verb.3.gz