git: 6b7115abdbac - main - www/p5-Mojolicious-Plugin-OpenAPI: Add a new port: OpenAPI / Swagger plugin for Mojolicious
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Jan 2023 21:35:57 UTC
The branch main has been updated by hrs: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b7115abdbac24f49937267ae409ba444f9857c6 commit 6b7115abdbac24f49937267ae409ba444f9857c6 Author: Hiroki Sato <hrs@FreeBSD.org> AuthorDate: 2023-01-03 21:34:51 +0000 Commit: Hiroki Sato <hrs@FreeBSD.org> CommitDate: 2023-01-03 21:34:51 +0000 www/p5-Mojolicious-Plugin-OpenAPI: Add a new port: OpenAPI / Swagger plugin for Mojolicious --- www/Makefile | 1 + www/p5-Mojolicious-Plugin-OpenAPI/Makefile | 21 +++++++++++++++++++++ www/p5-Mojolicious-Plugin-OpenAPI/distinfo | 3 +++ www/p5-Mojolicious-Plugin-OpenAPI/pkg-descr | 4 ++++ www/p5-Mojolicious-Plugin-OpenAPI/pkg-plist | 16 ++++++++++++++++ 5 files changed, 45 insertions(+) diff --git a/www/Makefile b/www/Makefile index 373624b311e1..80fb32b4700c 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1015,6 +1015,7 @@ SUBDIR += p5-Mojolicious-Plugin-Database SUBDIR += p5-Mojolicious-Plugin-HamlRenderer SUBDIR += p5-Mojolicious-Plugin-Mongodb + SUBDIR += p5-Mojolicious-Plugin-OpenAPI SUBDIR += p5-Mojolicious-Plugin-SetUserGroup SUBDIR += p5-Mojolicious-Plugin-TtRenderer SUBDIR += p5-Mojolicious-Plugin-YamlConfig diff --git a/www/p5-Mojolicious-Plugin-OpenAPI/Makefile b/www/p5-Mojolicious-Plugin-OpenAPI/Makefile new file mode 100644 index 000000000000..9cc59e797de7 --- /dev/null +++ b/www/p5-Mojolicious-Plugin-OpenAPI/Makefile @@ -0,0 +1,21 @@ +PORTNAME= Mojolicious-Plugin-OpenAPI +PORTVERSION= 5.05 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= hrs@FreeBSD.org +COMMENT= OpenAPI / Swagger plugin for Mojolicious +WWW= https://metacpan.org/dist/Mojolicious-Plugin-OpenAPI + +LICENSE= ART20 + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Mojolicious>=1:www/p5-Mojolicious \ + p5-JSON-Validator>=0:textproc/p5-JSON-Validator + +NO_ARCH= yes +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> diff --git a/www/p5-Mojolicious-Plugin-OpenAPI/distinfo b/www/p5-Mojolicious-Plugin-OpenAPI/distinfo new file mode 100644 index 000000000000..a27a53f881ab --- /dev/null +++ b/www/p5-Mojolicious-Plugin-OpenAPI/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1657993567 +SHA256 (Mojolicious-Plugin-OpenAPI-5.05.tar.gz) = c47f88d1ce37e3f613f6e8b357d82b7a71045ffc0a497395512ebbcda865615d +SIZE (Mojolicious-Plugin-OpenAPI-5.05.tar.gz) = 67421 diff --git a/www/p5-Mojolicious-Plugin-OpenAPI/pkg-descr b/www/p5-Mojolicious-Plugin-OpenAPI/pkg-descr new file mode 100644 index 000000000000..aa289a00fe18 --- /dev/null +++ b/www/p5-Mojolicious-Plugin-OpenAPI/pkg-descr @@ -0,0 +1,4 @@ +Mojolicious::Plugin::OpenAPI is Mojolicious::Plugin that add +routes and input/output validation to your Mojolicious application +based on a OpenAPI (Swagger) specification. This plugin supports +both version 2.0 and 3.x, though 3.x might have some missing features. diff --git a/www/p5-Mojolicious-Plugin-OpenAPI/pkg-plist b/www/p5-Mojolicious-Plugin-OpenAPI/pkg-plist new file mode 100644 index 000000000000..25d767d36749 --- /dev/null +++ b/www/p5-Mojolicious-Plugin-OpenAPI/pkg-plist @@ -0,0 +1,16 @@ +%%SITE_PERL%%/Mojolicious/Plugin/OpenAPI/Guides/Swagger2.pod +%%SITE_PERL%%/Mojolicious/Plugin/OpenAPI/Guides/OpenAPIv2.pod +%%SITE_PERL%%/Mojolicious/Plugin/OpenAPI/Guides/OpenAPIv3.pod +%%SITE_PERL%%/Mojolicious/Plugin/OpenAPI/SpecRenderer.pm +%%SITE_PERL%%/Mojolicious/Plugin/OpenAPI/Security.pm +%%SITE_PERL%%/Mojolicious/Plugin/OpenAPI/Parameters.pm +%%SITE_PERL%%/Mojolicious/Plugin/OpenAPI/Cors.pm +%%SITE_PERL%%/Mojolicious/Plugin/OpenAPI.pm +%%PERL5_MAN3%%/Mojolicious::Plugin::OpenAPI::Guides::OpenAPIv3.3.gz +%%PERL5_MAN3%%/Mojolicious::Plugin::OpenAPI::Guides::Swagger2.3.gz +%%PERL5_MAN3%%/Mojolicious::Plugin::OpenAPI::Parameters.3.gz +%%PERL5_MAN3%%/Mojolicious::Plugin::OpenAPI::Security.3.gz +%%PERL5_MAN3%%/Mojolicious::Plugin::OpenAPI::SpecRenderer.3.gz +%%PERL5_MAN3%%/Mojolicious::Plugin::OpenAPI.3.gz +%%PERL5_MAN3%%/Mojolicious::Plugin::OpenAPI::Cors.3.gz +%%PERL5_MAN3%%/Mojolicious::Plugin::OpenAPI::Guides::OpenAPIv2.3.gz