git: 6cb475a29787 - main - editors/mp: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 01:33:19 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6cb475a2978715286889d75610ce222decc81d91
commit 6cb475a2978715286889d75610ce222decc81d91
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 00:33:47 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 01:32:46 +0000
editors/mp: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
editors/mp/Makefile | 3 ++-
editors/mp/pkg-plist | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/editors/mp/Makefile b/editors/mp/Makefile
index 1620f95b87c3..e8c932ad254c 100644
--- a/editors/mp/Makefile
+++ b/editors/mp/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mp
DISTVERSION= 5.61
+PORTREVISION= 1
CATEGORIES= editors
MAINTAINER= jhale@FreeBSD.org
@@ -117,6 +118,6 @@ do-install-DOCS-on:
.endfor
do-install-MANPAGES-on:
- ${INSTALL_MAN} ${WRKSRC}/mp-5.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/mp-5.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>
diff --git a/editors/mp/pkg-plist b/editors/mp/pkg-plist
index aceb3b5fbc47..54a6800d792f 100644
--- a/editors/mp/pkg-plist
+++ b/editors/mp/pkg-plist
@@ -1,5 +1,5 @@
bin/mp-5
-%%MANPAGES%%man/man1/mp-5.1.gz
+%%MANPAGES%%share/man/man1/mp-5.1.gz
%%GUI%%share/applications/minimum-profit.desktop
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES