git: f5534cf1fb13 - main - emulators/cpmtools: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 17:53:48 UTC
The branch main has been updated by bofh:

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

commit f5534cf1fb1396390ba5ad53567566136f06b556
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 17:04:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 17:53:29 +0000

    emulators/cpmtools: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 emulators/cpmtools/Makefile                 | 2 +-
 emulators/cpmtools/files/patch-man_Makefile | 2 +-
 emulators/cpmtools/pkg-plist                | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/emulators/cpmtools/Makefile b/emulators/cpmtools/Makefile
index 5b2f53cf185f..a734ae7181bc 100644
--- a/emulators/cpmtools/Makefile
+++ b/emulators/cpmtools/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cpmtools
 PORTVERSION=	1.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	emulators
 MASTER_SITES=	LOCAL/joerg
 DISTNAME=	cpm-${PORTVERSION}
diff --git a/emulators/cpmtools/files/patch-man_Makefile b/emulators/cpmtools/files/patch-man_Makefile
index 58f619193076..930938405ee5 100644
--- a/emulators/cpmtools/files/patch-man_Makefile
+++ b/emulators/cpmtools/files/patch-man_Makefile
@@ -5,7 +5,7 @@
  MANEXT=1
  #MANDIR=/usr/man/man${MANEXT}
 -MANDIR=/usr/local/man/man${MANEXT}
-+MANDIR=${PREFIX}/man/man${MANEXT}
++MANDIR=${PREFIX}/share/man/man${MANEXT}
  
  install:
 -	cp cpm.1 ${DESTDIR}/${MANDIR}/cpm.${MANEXT}
diff --git a/emulators/cpmtools/pkg-plist b/emulators/cpmtools/pkg-plist
index 4809b4e5c4d3..dbc29d279156 100644
--- a/emulators/cpmtools/pkg-plist
+++ b/emulators/cpmtools/pkg-plist
@@ -1,3 +1,3 @@
 bin/cpm
-man/man1/cpm.1.gz
+share/man/man1/cpm.1.gz
 share/cpm/cpm.hlp