git: b16bb1470e4b - main - irc/simpleirc: Move manpages to share/man

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Thu, 18 Jan 2024 18:05:19 UTC
The branch main has been updated by garga:

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

commit b16bb1470e4b821c058a1527a54eab68a194b181
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-18 17:59:05 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-18 18:05:06 +0000

    irc/simpleirc: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 irc/simpleirc/Makefile             | 3 ++-
 irc/simpleirc/files/patch-Makefile | 7 +++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/irc/simpleirc/Makefile b/irc/simpleirc/Makefile
index 3cbe5e677628..0cc54dc0419b 100644
--- a/irc/simpleirc/Makefile
+++ b/irc/simpleirc/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	simpleirc
 DISTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	irc
 MASTER_SITES=	http://dl.suckless.org/tools/
 
@@ -12,7 +13,7 @@ WWW=		http://www.suckless.org/programs/sic.html
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-PLIST_FILES=	bin/simpleirc man/man1/simpleirc.1.gz
+PLIST_FILES=	bin/simpleirc share/man/man1/simpleirc.1.gz
 PORTDOCS=	README
 
 OPTIONS_DEFINE=	DOCS
diff --git a/irc/simpleirc/files/patch-Makefile b/irc/simpleirc/files/patch-Makefile
index 3971b2b4b8f7..288eeeb5caf9 100644
--- a/irc/simpleirc/files/patch-Makefile
+++ b/irc/simpleirc/files/patch-Makefile
@@ -1,13 +1,12 @@
 --- Makefile.orig	2022-10-04 17:34:08 UTC
 +++ Makefile
-@@ -4,13 +4,13 @@ NAME = sic
+@@ -4,13 +4,13 @@ VERSION = 1.3
  VERSION = 1.3
  
  # paths
 -PREFIX = /usr/local
--MANPREFIX = ${PREFIX}/share/man
 +PREFIX ?= /usr/local
-+MANPREFIX = ${PREFIX}/man
+ MANPREFIX = ${PREFIX}/share/man
  
  # use system flags.
 -SIC_CFLAGS = ${CFLAGS}
@@ -19,7 +18,7 @@
  
  BIN = sic
  SRC = ${BIN:=.c}
-@@ -45,15 +45,15 @@ dist:
+@@ -45,15 +45,15 @@ install: all
  
  install: all
  	mkdir -p ${DESTDIR}${PREFIX}/bin