git: b418ea86bc56 - main - devel/cvslines: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 10:02:13 UTC
The branch main has been updated by bofh:

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

commit b418ea86bc5679066d75950ab7ddf257b6adc0cb
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 09:59:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 10:01:36 +0000

    devel/cvslines: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/cvslines/Makefile           | 3 ++-
 devel/cvslines/files/patch-CONFIG | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/cvslines/Makefile b/devel/cvslines/Makefile
index 4e14842fc56e..b675a9b502b0 100644
--- a/devel/cvslines/Makefile
+++ b/devel/cvslines/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=		cvslines
 PORTVERSION=		1.6.9
+PORTREVISION=	1
 CATEGORIES=		devel
 MASTER_SITES=		SF
 
@@ -14,7 +15,7 @@ SHEBANG_FILES=		cvslines
 .for ii in s s_check s-check s-commit s-config s-status
 PLIST_FILES+=	bin/cvsline${ii}
 .endfor
-PLIST_FILES+=	man/man1/cvslines.1.gz
+PLIST_FILES+=	share/man/man1/cvslines.1.gz
 
 pre-patch:
 	@${REINPLACE_CMD} -i '' -e 's|the the|the|' ${WRKSRC}/cvslines.1
diff --git a/devel/cvslines/files/patch-CONFIG b/devel/cvslines/files/patch-CONFIG
index f49c9c2555cb..a84524615e28 100644
--- a/devel/cvslines/files/patch-CONFIG
+++ b/devel/cvslines/files/patch-CONFIG
@@ -17,7 +17,7 @@
  #  (Absolute path)
  #
 -if (! defined($MANDIR)) { $MAN1DIR = "/usr/local/man/man1"; } # cfg
-+if (! defined($MANDIR)) { $MAN1DIR = "$ENV{'PREFIX'}/man/man1"; } # cfg
++if (! defined($MANDIR)) { $MAN1DIR = "$ENV{'PREFIX'}/share/man/man1"; } # cfg
  
  ######################################################################
  #