Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2024 06:25:39 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c1bc74bfc97d - main - security/gnupg: Fix postexec/postunexec dealing with manpages
Message-ID:  <202404030625.4336PdZb096754@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

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

commit c1bc74bfc97dfce5ee95a99f4e26e547913d98f8
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-04-03 06:22:48 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-04-03 06:22:48 +0000

    security/gnupg: Fix postexec/postunexec dealing with manpages
    
    Approved by:    portmgr (blanket)
---
 security/gnupg/Makefile  | 1 +
 security/gnupg/pkg-plist | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 3f4bbc68f93d..c14d3a78de16 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gnupg
 DISTVERSION=	2.4.4
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	GNUPG
 
diff --git a/security/gnupg/pkg-plist b/security/gnupg/pkg-plist
index 4a1bb5dccf6b..5caf61bf2ec0 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
-@postunexec [ -e %D/man/man1/gpg.1.gz ] || rm -f %D/man/man1/gpg.1.gz
+@postexec [ -e %D/share/man/man1/gpg.1.gz ] || ln -sf gpg2.1.gz %D/share/man/man1/gpg.1.gz
+@postunexec [ -e %D/share/man/man1/gpg.1.gz ] || rm -f %D/share/man/man1/gpg.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404030625.4336PdZb096754>