git: f1692182dde9 - main - security/gnupg: Fix plist

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 04 Aug 2023 02:23:00 UTC
The branch main has been updated by yasu:

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

commit f1692182dde978bb8d908414312900590c518afa
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-08-04 02:08:59 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-08-04 02:21:58 +0000

    security/gnupg: Fix plist
    
    Reported by:    des
    Approved by:    portmgr blanket
    Fixes:          06227fb64bf2 security/gnupg: Create symlink for manpage
---
 security/gnupg/Makefile  | 2 +-
 security/gnupg/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 2e175ae58415..ac648171831d 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gnupg
 DISTVERSION=	2.4.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security
 MASTER_SITES=	GNUPG
 
diff --git a/security/gnupg/pkg-plist b/security/gnupg/pkg-plist
index a279fde721f7..e35631f39331 100644
--- a/security/gnupg/pkg-plist
+++ b/security/gnupg/pkg-plist
@@ -123,5 +123,5 @@ sbin/applygnupgdefaults
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/gnupg2.mo
 @postexec [ -e %D/bin/gpg ] || ln -sf gpg2 %D/bin/gpg
 @postunexec [ -e %D/bin/gpg ] || rm -f %D/bin/gpg
-@postexec [ -e %D/man/man1/gpg.1.gz] || ln -sf gpg2.1.gz %D/man/man1/gpg.1.gz
+@postexec [ -e %D/man/man1/gpg.1.gz ] || ln -sf gpg2.1.gz %D/man/man1/gpg.1.gz
 @postunexec [ -e %D/man/man1/gpg.1.gz ] || rm -f %D/man/man1/gpg.1.gz