aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2024-04-03 06:22:48 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-04-03 06:22:48 +0000
commitc1bc74bfc97dfce5ee95a99f4e26e547913d98f8 (patch)
treeaf1004b3ed72e2bca1cebc61c16ff8b2520fd979
parent542e878a66ed0f6dd84cbba87b068e7b5a4fdcd2 (diff)
downloadports-c1bc74bfc97dfce5ee95a99f4e26e547913d98f8.tar.gz
ports-c1bc74bfc97dfce5ee95a99f4e26e547913d98f8.zip
security/gnupg: Fix postexec/postunexec dealing with manpages
Approved by: portmgr (blanket)
-rw-r--r--security/gnupg/Makefile1
-rw-r--r--security/gnupg/pkg-plist4
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