Re: git: 28cfe20550b8 - main - MANPREFIX: eleminate its usage and move man to share/man

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Mon, 08 Jan 2024 22:59:39 UTC
Hello!

At least ubench need more changes (lock).

08.01.2024 19:30, Baptiste Daroussin пишет:
> The branch main has been updated by bapt:
>
> URL:https://cgit.FreeBSD.org/ports/commit/?id=28cfe20550b8d64ee918cbfcf4fe5a3278650819
>
> commit 28cfe20550b8d64ee918cbfcf4fe5a3278650819
> Author:     Baptiste Daroussin<bapt@FreeBSD.org>
> AuthorDate: 2024-01-08 16:30:01 +0000
> Commit:     Baptiste Daroussin<bapt@FreeBSD.org>
> CommitDate: 2024-01-08 16:30:29 +0000
>
>      MANPREFIX: eleminate its usage and move man to share/man
> ---
>   astro/gpscorrelate/Makefile         |    8 +-
>   astro/sunclock/Makefile             |    4 +-
>   astro/sunclock/pkg-plist            |    2 +-
>   benchmarks/mdtest/Makefile          |    6 +-
>   benchmarks/ubench/Makefile          |    5 +-
>
>   27 files changed, 669 insertions(+), 667 deletions(-)
>
> diff --git a/benchmarks/ubench/Makefile b/benchmarks/ubench/Makefile
> index 06c3959ed10d..6380bc9c8112 100644
> --- a/benchmarks/ubench/Makefile
> +++ b/benchmarks/ubench/Makefile
> @@ -1,5 +1,6 @@
>   PORTNAME=	ubench
>   PORTVERSION=	0.32
> +PORTREVISION=	1
>   CATEGORIES=	benchmarks
>   MASTER_SITES=	SUNSITE/system/benchmark
>   
> @@ -13,10 +14,10 @@ HAS_CONFIGURE=	yes
>   ALL_TARGET=	ubench
>   
>   PLIST_FILES=	bin/ubench \
> -		man/man8/ubench.8.gz
> +		share/man/man8/ubench.8.gz
>   
>   do-install:
>   	${INSTALL_PROGRAM} ${WRKSRC}/ubench ${STAGEDIR}${PREFIX}/bin
> -	${INSTALL_MAN} ${WRKSRC}/ubench.8 ${STAGEDIR}${MANPREFIX}/man/man8
> +	${INSTALL_MAN} ${WRKSRC}/ubench.8 ${STAGEDIR}${PREFIX}/man/man8

+	${INSTALL_MAN} ${WRKSRC}/ubench.8 ${STAGEDIR}${PREFIX}/share/man/man8

Patch work for me. I can commit it self if you and mentors approve.

>   
>   .include <bsd.port.mk>


-- 
Best regards,
Vladimir Druzenko