git: 79ebed704e2c - main - misc/mc: fix packaging with EDITOR option disabled

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 04 Nov 2024 17:17:52 UTC
The branch main has been updated by arrowd:

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

commit 79ebed704e2c156bc980c506f4fd6dffffd3c989
Author:     Piotr Smyrak <ps.ports@smyrak.com>
AuthorDate: 2024-10-25 22:28:28 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-11-04 17:17:46 +0000

    misc/mc: fix packaging with EDITOR option disabled
    
    Pull Request:   https://github.com/freebsd/freebsd-ports/pull/315
---
 misc/mc/pkg-plist | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/mc/pkg-plist b/misc/mc/pkg-plist
index 8a9b056d803e..543843d0cb0f 100644
--- a/misc/mc/pkg-plist
+++ b/misc/mc/pkg-plist
@@ -144,7 +144,7 @@ libexec/mc/shell/utime
 %%NLS%%share/man/it/man1/mc.1.gz
 share/man/man1/mc.1.gz
 share/man/man1/mcdiff.1.gz
-share/man/man1/mcedit.1.gz
+%%EDITOR%%share/man/man1/mcedit.1.gz
 share/man/man1/mcview.1.gz
 %%NLS%%share/man/pl/man1/mc.1.gz
 %%NLS%%share/man/ru/man1/mc.1.gz