git: 4f2c91dcc621 - main - irc/ircd-hybrid: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 13:32:11 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4f2c91dcc621c0a0ac9077b91c0915e8d74a5f31

commit 4f2c91dcc621c0a0ac9077b91c0915e8d74a5f31
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 13:23:10 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 13:23:10 +0000

    irc/ircd-hybrid: Move man pages to share/man
    
    While here, fix plist
    
    Approved by:    portmgr (blanket)
---
 irc/ircd-hybrid/Makefile  | 2 ++
 irc/ircd-hybrid/pkg-plist | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/irc/ircd-hybrid/Makefile b/irc/ircd-hybrid/Makefile
index 143c67ad3cef..acaca65bf615 100644
--- a/irc/ircd-hybrid/Makefile
+++ b/irc/ircd-hybrid/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ircd-hybrid
 PORTVERSION=	8.2.43
+PORTREVISION=	1
 CATEGORIES=	irc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -12,6 +13,7 @@ LICENSE=	GPLv2
 # :keepla because port uses lt_dlopen
 USES=		cpe gmake libtool:keepla tar:tgz
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
diff --git a/irc/ircd-hybrid/pkg-plist b/irc/ircd-hybrid/pkg-plist
index 7bd39673c8e5..93432551c1f3 100644
--- a/irc/ircd-hybrid/pkg-plist
+++ b/irc/ircd-hybrid/pkg-plist
@@ -1,7 +1,6 @@
 bin/ircd
 bin/ircd-hybrid-mkpasswd
 %%ETCDIR%%/reference.conf
-etc/rc.d/ircd-hybrid
 lib/ircd-hybrid/modules/autoload/m_accept.la
 lib/ircd-hybrid/modules/autoload/m_accept.so
 lib/ircd-hybrid/modules/autoload/m_admin.la
@@ -170,7 +169,6 @@ lib/ircd-hybrid/modules/m_squit.la
 lib/ircd-hybrid/modules/m_squit.so
 lib/ircd-hybrid/modules/m_tmode.la
 lib/ircd-hybrid/modules/m_tmode.so
-man/man8/ircd.8.gz
 %%DATADIR%%-%%PORTVERSION%%/ircd-hybrid/help/accept
 %%DATADIR%%-%%PORTVERSION%%/ircd-hybrid/help/admin
 %%DATADIR%%-%%PORTVERSION%%/ircd-hybrid/help/away
@@ -233,6 +231,7 @@ man/man8/ircd.8.gz
 %%DATADIR%%-%%PORTVERSION%%/ircd-hybrid/help/whois
 %%DATADIR%%-%%PORTVERSION%%/ircd-hybrid/help/whowas
 %%DATADIR%%-%%PORTVERSION%%/ircd-hybrid/help/xline
+share/man/man8/ircd.8.gz
 @dir /var/ircd-hybrid/lib
 @dir /var/ircd-hybrid/log
 @dir /var/ircd-hybrid/run