git: 265facacb73e - main - editors/ecce: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 01:33:18 UTC
The branch main has been updated by bofh:

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

commit 265facacb73e58feaa35d97e3efdcdadc8f33d63
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 00:32:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 01:32:46 +0000

    editors/ecce: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 editors/ecce/Makefile  | 3 ++-
 editors/ecce/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/editors/ecce/Makefile b/editors/ecce/Makefile
index 502a20fff540..d8c8714ab7ba 100644
--- a/editors/ecce/Makefile
+++ b/editors/ecce/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ecce
 DISTVERSION=	2.9d
+PORTREVISION=	1
 CATEGORIES=	editors
 MASTER_SITES=	http://www.ml1.org.uk/distfiles/ \
 		http://www.ancientgeek.org.uk/distfiles/
@@ -14,7 +15,7 @@ OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ecce ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/ecce.1.gz ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/ecce.1.gz ${STAGEDIR}${PREFIX}/share/man/man1
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/editors/ecce/pkg-plist b/editors/ecce/pkg-plist
index 9c528c03bbcc..848ee1339053 100644
--- a/editors/ecce/pkg-plist
+++ b/editors/ecce/pkg-plist
@@ -1,5 +1,5 @@
 bin/ecce
-man/man1/ecce.1.gz
+share/man/man1/ecce.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/ecce2.txt
 %%PORTDOCS%%%%DOCSDIR%%/hmdecce.html
 %%PORTDOCS%%%%DOCSDIR%%/ldsecce.html