Re: git: 9f0ce98efea9 - main - irc/rbot: Moved man to share/man

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Wed, 31 Jan 2024 14:51:35 UTC
On 2024-01-29 11:54, Muhammad Moinur Rahman wrote:
> The branch main has been updated by bofh:
> 
> URL: 
> https://cgit.FreeBSD.org/ports/commit/?id=9f0ce98efea9ca39d4930569c7a072a9431793b2
> 
> commit 9f0ce98efea9ca39d4930569c7a072a9431793b2
> Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
> AuthorDate: 2024-01-29 18:03:32 +0000
> Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
> CommitDate: 2024-01-29 19:54:13 +0000
> 
>     irc/rbot: Moved man to share/man

I think you should be testing these before committing. This one doesn't 
use GNU configure.
===>   Building rbot-20160325_2,1
pkg-static: Unable to access file 
/wrkdirs/usr/ports/irc/rbot/work/stage/usr/local/share/man/rbot.xml.gz:No 
such file or directory
*** Error code 1


> 
>     Approved by:    portmgr (blanket)
> ---
>  irc/rbot/Makefile  | 3 ++-
>  irc/rbot/pkg-plist | 2 +-
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/irc/rbot/Makefile b/irc/rbot/Makefile
> index aca35f99db58..06984ff5bcfc 100644
> --- a/irc/rbot/Makefile
> +++ b/irc/rbot/Makefile
> @@ -1,6 +1,6 @@
>  PORTNAME=	rbot
>  PORTVERSION=	20160325
> -PORTREVISION=	1
> +PORTREVISION=	2
>  PORTEPOCH=	1
>  CATEGORIES=	irc ruby
> 
> @@ -25,6 +25,7 @@ 
> LIB_DEPENDS=	libtokyocabinet.so:databases/tokyocabinet
> 
>  USES=		cpe ruby:setup
> 
> +GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
>  CONFIGURE_ARGS=	--prefix=${PREFIX}
>  NO_ARCH=	yes
> 
> diff --git a/irc/rbot/pkg-plist b/irc/rbot/pkg-plist
> index e411686f8392..dfe970ca87da 100644
> --- a/irc/rbot/pkg-plist
> +++ b/irc/rbot/pkg-plist
> @@ -42,7 +42,7 @@ bin/rbotdb
>  %%RUBY_SITELIBDIR%%/rbot/registry/tc.rb
>  %%RUBY_SITELIBDIR%%/rbot/rfc2812.rb
>  %%RUBY_SITELIBDIR%%/rbot/timer.rb
> -man/rbot.xml.gz
> +share/man/rbot.xml.gz
>  %%DATADIR%%/contrib/plugins/stats.rb
>  %%DATADIR%%/contrib/plugins/vandale.rb
>  %%DATADIR%%/filters/rss.rb