Re: git: 9337adbf47ae - main - devel/p5-Mojo-Base-XS: Add

From: Po-Chuan Hsieh <sunpoet_at_freebsd.org>
Date: Sat, 27 Aug 2022 12:48:25 UTC
On Sun, Aug 21, 2022 at 10:48 PM Adam Weinberger <adamw@freebsd.org> wrote:

> The branch main has been updated by adamw:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=9337adbf47ae78ab55b1dff2a5a30be6d7df53d8
>
> commit 9337adbf47ae78ab55b1dff2a5a30be6d7df53d8
> Author:     Adam Weinberger <adamw@FreeBSD.org>
> AuthorDate: 2022-08-21 14:47:52 +0000
> Commit:     Adam Weinberger <adamw@FreeBSD.org>
> CommitDate: 2022-08-21 14:47:52 +0000
>
>     devel/p5-Mojo-Base-XS: Add
>
>     Mojo::Base::XS implements fast XS-based accessors using the Mojolicious
>     interface. The accessors are based on Class::XSAccessor.
>
>     It can monkey-patch itself into Mojo::Base, or be used as a standalone
>     inclusion. The same limitations from Mojo::Base apply here, namely that
>     it doesn't support BUILD/before/after wrappers or roles. Use p5-Moo if
>     you want those features.
>
>     WWW: https://metacpan.org/pod/Mojo::Base::XS
> ---
>  devel/Makefile                  |  1 +
>  devel/p5-Mojo-Base-XS/Makefile  | 21 +++++++++++++++++++++
>  devel/p5-Mojo-Base-XS/distinfo  |  3 +++
>  devel/p5-Mojo-Base-XS/pkg-descr |  9 +++++++++
>  devel/p5-Mojo-Base-XS/pkg-plist |  3 +++
>  5 files changed, 37 insertions(+)
>
> diff --git a/devel/Makefile b/devel/Makefile
> index b31a5c0965f9..0e0c824919a9 100644
> --- a/devel/Makefile
> +++ b/devel/Makefile
> @@ -2824,6 +2824,7 @@
>      SUBDIR += p5-Module-Version
>      SUBDIR += p5-Module-Versions
>      SUBDIR += p5-Module-Versions-Report
> +    SUBDIR += p5-Mojo-Base-XS
>      SUBDIR += p5-Mojolicious-Plugin-NYTProf
>      SUBDIR += p5-Moo
>      SUBDIR += p5-MooX-Aliases
> diff --git a/devel/p5-Mojo-Base-XS/Makefile
> b/devel/p5-Mojo-Base-XS/Makefile
> new file mode 100644
> index 000000000000..063a92d43074
> --- /dev/null
> +++ b/devel/p5-Mojo-Base-XS/Makefile
> @@ -0,0 +1,21 @@
> +PORTNAME=      Mojo-Base-XS
> +PORTVERSION=   0.07
> +CATEGORIES=    devel perl5
> +# Won't fetch with MASTER_SITES=CPAN for some reason
> +MASTER_SITES=  https://cpan.metacpan.org/authors/id/Y/YK/YKO/


Hi Adam,

FYI, you could use MASTER_SITE_SUBDIR.
The following works:
MASTER_SITES=CPAN
MASTER_SITE_SUBDIR=CPAN:YKO

Regards,
sunpoet